Get All Matched Nodes VI
- Updated2025-07-30
- 2 minute(s) read
Returns all the nodes within node in that match the XPath expression.

Inputs/Outputs
node in
—
node in is a reference to an instance of XML Parser class Node. This VI uses node in as the context node to evaluate the XPath expression.
XPath expression
—
XPath expression specifies the expression this VI uses to query node in for a match. Use XPath syntax to define the XPath expression.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
node out
—
node out contains the same reference as node in.
node result array
—
node result array returns an array of references to each node that matches XPath expression. If this VI does not find a match, node result array is empty. If you use a For Loop to process each node from node result array, consider using shift registers instead of tunnels for other data you pass through the loop. Doing so avoids surprising behaviors in case node result array is empty.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\File IO\XML\Parse XML\Parse XML String for Multiple Nodes.vi
node in
—
XPath expression
—
error in (no error)
—
node out
—
node result array
—
error out
—