If I may ask Michael, why the warning on namespaces? It's
probably a bit nutty, but I'm currently using them as a way
to highlight my XML!
select="//x/*[local-name() = $name]/description"
Because if $name is in the form "prefix:local" then this won't match
anything. In principle you need to do separate tests on the local-name and
the namespace URI.
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--