admin:database-element-attribute-word-lexicon( $parent-namespace as xs:string?, $parent-localname as xs:string, $namespace as xs:string?, $localname as xs:string, $collation as xs:string ) as element(db:element-attribute-word-lexicon)
This function constructs an element attribute word lexicon specification.
xquery version "1.0-ml"; import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy"; admin:database-element-attribute-word-lexicon("my/namepsace", "elementname", "", "myAttribute", "http://marklogic.com/collation/" ) (: returns the element attribute word lexicon specification :)