admin.databasePhraseThrough( namespace as String?, localname as String ) as element(db.phraseThrough)
This function constructs a phrase through specification.
Parameters | |
---|---|
namespace | The namespace URI. |
localname | The local name for the node. |
const admin = require('/MarkLogic/admin.xqy'); admin.databasePhraseThrough("my/namepsace", "elementname" ) //returns the phrase through specification
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.