Loading TOC...

MarkLogic 12 EA 2 Product Documentation
admin:database-phrase-around

admin:database-phrase-around(
   $namespace as xs:string?,
   $localname as xs:string
) as element(db:phrase-around)

Summary

This function constructs a phrase through specification.

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

Example


  xquery version "1.0-ml";

  import module namespace admin = "http://marklogic.com/xdmp/admin"
		  at "/MarkLogic/admin.xqy";

  admin:database-phrase-around("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.