Reputation: 11
Can we use .xqj files for querying BaseX as we use .xqy to query xml in Marklogic? I don't think in baseX .xqy can be used to query.
Upvotes: 1
Views: 116
Reputation: 20414
For the sake of completeness, MarkLogic supports these extensions out of the box: xqy,xqe,xq,xquery
. You can add .xqj
as well, by adding the extension to the Mimetypes table in the Admin UI.
HTH!
Upvotes: 1
Reputation: 6229
xqy
is a valid XQuery file extension both in BaseX and in MarkLogic. You can additionally use xq
, xqm
, xql
, xqu
and xquery
(but not xqj
; see http://docs.basex.org/wiki/XQuery_Extensions#Suffixes).
If you address and run a query file via the BaseX command-line interface or visual frontend, however, the file extension does not matter.
Upvotes: 1