
admin.databasePhraseAround( namespace as String?, localname as String ) as element(db.phraseAround)
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.databasePhraseAround("my/namepsace", "elementname" )
//returns the phrase around specification
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.