XPath find if node exists

Using a XPath query how do you find if a node (tag) exists at all?

For example if I needed to make sure a website page has the correct basic structure like /html/body and /html/head/title.

6 Answers
6

Leave a Comment