Question: how to check if a node exists in xpath?
Answer: matching nodes > zero – XML tag / attribute exists.
matching nodes <= zero – XML tag / attribute does not exist.