Re: xsl:choose and xsl:when

Subject: Re: xsl:choose and xsl:when
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 19 Jul 2000 18:50:10 GMT
<xsl:template match="ELEMENT">
your current node is the ELEMENT node.
    <xsl:choose>
		<xsl:when test="ELEMENT = 0">No Change</xsl:when>
you are testing for ELEMENT children of the current node.

so don't do that, do this:
    <xsl:choose>
		<xsl:when test=". = 0">No Change</xsl:when>

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread