XMLDocument.getElementById( id as String ) as Element
Get the element in this document with the given id, if any.
Parameters | |
---|---|
id | The id of the element to return. |
cts.doc("example.xml").getElementById("ex1")
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.