admin.databaseElementWordQueryThrough( namespace as String?, localname as String ) as element(db.elementWordQueryThrough)
This function constructs an element word query through specification.
Parameters | |
---|---|
namespace | The namespace URI. |
localname | The local name for the node. |
const admin = require('/MarkLogic/admin.xqy'); admin.databaseElementWordQueryThrough("my/namepsace", "elementname" ) //returns the element word query through specification