public item(index as Int) as Node:
Returns the node at an index.
| Parameter | Description |
|---|---|
index | Zero-based node index. |
Node at the index, or null when the index is out of range.
nodes = DomNodeList()
nodes.add(DomElement("item", DomDocument()))
print((nodes.item(0) as DomElement).tagName)