xpath


Description:

public static ArrayList<XmlNode> xpath (XmlNode root, string expr)

Finds nodes matching a simple XPath expression.

Supports descendant search with double-slash prefix, absolute paths from root, and attribute filters using bracket notation.

Parameters:

root

root node.

expr

XPath expression.

Returns:

list of matching nodes.