MarkLogic 12 EA 1 Product Documentation
admin.databaseExcludedElementadmin.databaseExcludedElement(
namespace as String?,
localname as String,
[attribute-namespace as String?],
[attribute-localname as String],
[attribute-value as String]
) as element(db.excludedElement)
Summary
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
const admin = require('/MarkLogic/admin.xqy');
admin.databaseExcludedElement("http://myuri/namespace",
"elementName")
//the constructed element
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.