org.w3c.dom.xpath.XPathResult.snapshotItem
method
public snapshotItem(index as Int) as Node throws XPathException
Description

Returns a 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)