xsl-list
[Top] [All Lists]

RE: [xsl] Template matching with multiple namespaces

2009-03-20 05:25:48
I think this would work:

<xsl:apply-templates select=".//*:LandXML" />

It does not work for xsltproc:
$ xsltproc a.xsl
Error xpath.c:10147: Invalid expression
.//*:LandXML
    ^

*:xyz is an XPath 2.0 construct.

Personally I prefer to avoid it in production work, but it's sometimes a
time-saver.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
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>
--~--