admin:database-word-lexicon( $collation as xs:string ) as element(db:word-lexicon)
This function constructs a word lexicon specification.
Parameters | |
---|---|
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-word-lexicon("http://marklogic.com/collation/") (: returns the word lexicon specification :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.