Loading TOC...

MarkLogic Server 11.0 Product Documentation
admin.databasePhraseAround

admin.databasePhraseAround(
   namespace as String?,
   localname as String
) as element(db.phraseAround)

Summary

This function constructs a phrase through specification.

Parameters
namespace The namespace URI.
localname The local name for the node.

Example

  
  const admin = require('/MarkLogic/admin.xqy');
  admin.databasePhraseAround("my/namepsace", "elementname" )

   //returns the phrase around specification 
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.