Hi arsh,
It should return none as it is only to return a node that hasn't got the attribute ID and not got the attribute name.
In XPath the | symbol means and
here is a quick link to show the syntax
http://www.w3schools.com/xpath/xpath_syntax.asp
they use this sample
//book/title | //book/price
which means return all elements with a title and all elements with a price.
Does think make sense?
It should return none as it is only to return a node that hasn't got the attribute ID and not got the attribute name.
In XPath the | symbol means and
here is a quick link to show the syntax
http://www.w3schools.com/xpath/xpath_syntax.asp
they use this sample
//book/title | //book/price
which means return all elements with a title and all elements with a price.
Does think make sense?