Returns the first node within node in that matches the XPath expression. If this VI does not find a match, node result is not a valid refnum.


icon

Inputs/Outputs

  • cgenclassrn.png 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.

  • cstr.png 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.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • igenclassrn.png node out

    node out contains the same reference as node in.

  • igenclassrn.png node result

    node result returns a reference to the first node that matches XPath expression. If this VI does not find a match, node result is not a valid refnum. You can use the Not a Number/Path/Refnum? function to establish whether this VI finds a match.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.