[Home] [By Thread] [By Date] [Recent Entries]
Stephen Colin (UK) wrote:
How do I reliably match the "elem" element in both of the below documents: This 'elem' element is in no namespace. </p:example> This 'p:elem' element is in the namespace 'something'. With XPath 2.0 you can use *:elem to select elements with local name 'elem' in any namespace. With XPath 1.0 you can only use *[local-name() = 'elem'] -- Martin Honnen http://JavaScript.FAQTs.com/
|

Cart



