MarkLogic Server 11.0 Product Documentation
Attr.ownerDocumentAttr.ownerDocument as XMLDocument
Summary
This is inherited from the XMLNode object.
The document node containing this node, if any.
Example
fn.head(xdmp.value("//example")).ownerDocument.firstChild.nodeName
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.