Loading TOC...

MarkLogic 9 Product Documentation
XMLDocument.previousSibling

XMLDocument.previousSibling as XMLNode

Summary

This is inherited from the XMLNode object.

The node that is the immediately preceding sibling of this node, if any.

Example

cts.doc("example.xml").root.lastChild.previousSibling

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.