Subject: Re: [xsl] <xsl:template match="and"> does not work From: Victor Toni <xsl-list@xxxxxxxxx> Date: Wed, 16 Aug 2006 12:18:58 +0200 |
I have to process an XML document that contains elements of the formHave you already tried something like
<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?
<xsl:template match="'and'"> or <xsl:template match="*[local-name() = 'and']">
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] <xsl:template match="and", David Carlisle | Thread | RE: [xsl] <xsl:template match="and", Michael Kay |
RE: [xsl] <xsl:template match="and", Colin Adams | Date | RE: [xsl] <xsl:template match="and", Colin Adams |
Month |