MarkLogic 12 EA 1 Product Documentation
admin:database-element-word-lexicon

admin:database-element-word-lexicon(
   $namespace as xs:string?,
   $localname as xs:string,
   $collation as xs:string
) as element(db:element-word-lexicon)

Summary

This function constructs an element word lexicon specification.

Parameters
namespace The namespace URI.
localname The local name for the node.
collation The collation URI (for example, http://marklogic.com/collation/).

Example


  xquery version "1.0-ml";

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

  admin:database-element-word-lexicon("my/namepsace", "elementname",
	"http://marklogic.com/collation/" )

  (: returns the element word lexicon specification :)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy