xpath find if node exists

Posted by EddyR on Stack Overflow See other posts from Stack Overflow or by EddyR
Published on 2009-04-20T11:14:39Z Indexed on 2010/04/25 12:13 UTC
Read the original article Hit count: 410

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about beginning-xpath

Related posts about xpath