admin.databaseElementWordLexicon( namespace as String?, localname as String, collation as String ) as element(db.elementWordLexicon)
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/ ).
|
const admin = require('/MarkLogic/admin.xqy'); admin.databaseElementWordLexicon("my/namepsace", "elementname", "http://marklogic.com/collation/" ) //returns the element word lexicon specification