In this XPath expression: //div[@id=”myID”]|p
, does the //
operator get applied to both sides of the union operator? Or would this expression simply return all div
elements in the document that have an id
attribute value of myID
and all p
elements that are children of the context node?
Is there a reference for XPath operator binding and associativity?