Subject: RE: <xsl:template match="and"> does not work
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 16 Aug 2006 11:39:15 +0100
|
> I have to process an XML document that contains elements of the form
>
> <and id="1">
> <content>
> <expression first="aa" second="bb"/>
> </content>
> </and>
>
> Unfortunately, Xalan 1.4 complains if I use an XSLT
> stylesheet with lines like <xsl:apply-templates
> select="and"/> or <xsl:template match="and"> because "and"
> has a special meaning as an XPath function.
>
> Does anybody has an idea how to deal with such a case?
Isn't Xalan 1.4 rather old? I would imagine they have fixed this bug by now.
Michael Kay
http://www.saxonica.com/
|