admin:database-element-word-lexicon( $namespace as xs:string?, $localname as xs:string, $collation as xs:string ) as element(db:element-word-lexicon)
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/ ).
|
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 :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.