MarkLogic 10 Product Documentation
admin.databaseElementWordLexicon

admin.databaseElementWordLexicon(
   namespace as String?,
   localname as String,
   collation as String
) as element(db.elementWordLexicon)

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

  
  const admin = require('/MarkLogic/admin.xqy');
  admin.databaseElementWordLexicon("my/namepsace", "elementname",

	"http://marklogic.com/collation/" )
   //returns the element word lexicon specification 
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy