klyn.io.xml.xpath.DOMXPathResult.snapshotItem
method
public snapshotItem(index as Int) as Node throws XPathException:
Description

Returns one node from a snapshot result.

Parameters
  • index Zero-based snapshot index.
Returns

Node at index, or null.

Throws
  • XPathException if this result is not a snapshot.
Example
first = result.snapshotItem(0)