Loading TOC...

NodeList.item

NodeList.item(
   $n as Number
) as XMLNode

Summary

Return the nth node.

Parameters
$n The index of the node on the node list.

Example

cts.doc("example.xml").getElementsByTagName("para").item(3);

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.