Loading TOC...

admin.databasePhraseThrough

admin.databasePhraseThrough(
   namespace as String?,
   localname as String
) as element(db.phraseThrough)

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.databasePhraseThrough("my/namepsace", "elementname" )

   //returns the phrase through specification 
  

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