[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPath matching elements with or without prefix by
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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|