title: XPath find if node exists
body: <p>Using a XPath query how do you find if a node (tag) exists at all?</p>
  <p>For example if I needed to make sure a website page has the correct basic structure like <code>/html/body</code> and <code>/html/head/title</code>.</p>