admin:database-excluded-element( $namespace as xs:string?, $localname as xs:string, [$attribute-namespace as xs:string?], [$attribute-localname as xs:string], [$attribute-value as xs:string] ) as element(db:excluded-element)
This function constructs an excluded element specification.
xquery version "1.0-ml"; import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy"; admin:database-excluded-element("http://myuri/namespace", "element-name") (: the constructed element :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.