Subject: Re: [xsl] How to match namespaces instead of namespace prefixes ? From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 27 Oct 2004 10:21:29 +0100 |
Now I want to write a XSLT stylesheet which matches a subelem if the prepended namespace prefix belongs to the namespace "http://www.foo.com" regardless which current namespace prefix is used. How do I implement this ? That's how matching in XSLT _always_ works. Just assign any prefix (say z) to http://www.foobar.com in your stylesheet, then use x:subelem in any Xpath or match pattern. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to match namespaces i, Emmanouil Batsis | Thread | Re: [xsl] How to match namespaces i, David Carlisle |
Re: [xsl] How to match namespaces i, Emmanouil Batsis | Date | [xsl] Announce: XSLT stylesheet for, Jirka Kosek |
Month |