xsl-list
[Top] [All Lists]

RE: [xsl] <xsl:template match="and"> does not work

2006-08-16 03:17:27

Use the unabbreviated syntax: child:and

From: Ralf Schumann 
<schumann(_at_)ebus(_dot_)informatik(_dot_)uni-leipzig(_dot_)de>

Hello,

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?

Thanks in advance,
Ralf

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


_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters


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