xpathCheck if a node is present


Syntax

  • boolean(path_to_node)

Remarks

Boolean function has other uses

  1. Check if a string is empty
  2. Check if the argument is not a number (NaN) or is 0