[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Template matching with multiple namespaces


Subject: RE: [xsl] Template matching with multiple namespaces
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 20 Mar 2009 09:25:24 -0000

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


Current Thread
Keywords