admin:database-element-word-query-through( $namespace as xs:string?, $localname as xs:string ) as element(db:element-word-query-through)
This function constructs an element word query through specification.
Parameters | |
---|---|
namespace | The namespace URI. |
localname | The local name for the node. |
xquery version "1.0-ml"; import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy"; admin:database-element-word-query-through("my/namepsace", "elementname" ) (: returns the element word query through specification :)