
admin:database-phrase-through( $namespace as xs:string?, $localname as xs:string ) as element(db:phrase-through)
This function constructs a phrase through specification.
| Parameters | |
|---|---|
| namespace | The namespace URI. | 
| localname | The local name for the node. | 
  xquery version "1.0-ml";
  import module namespace admin = "http://marklogic.com/xdmp/admin"
		  at "/MarkLogic/admin.xqy";
  admin:database-phrase-through("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.