This function constructs an excluded element specification.
Parameters
namespace
The namespace URI. Specify an empty string if the
element is in no namespace.
localname
The local name for the node.
attribute-namespace
The namespace URI for the constraining attribute.
attribute-localname
The localname for the constraining attribute.
attribute-value
The value for the constraining attribute.
Usage Notes
If the third parameter is included, the fourth
and fifth must also be included. These parameters are for
constraining the excluded element based on a particular
attribute value.
Example
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.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.