Crossposted at StackOverflow. It is considered polite to inform about crossposting so that people not attending both sites do not waste their time solving a problem already solved at the other end of the wires.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Comment on Re: How can I force findnodes() to check value of attributes in either xpath1 or xpath2?