This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xsl:choose and xsl:when



<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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]