RE: [xsl] how to test a condtion in XSL file ??]

Subject: RE: [xsl] how to test a condtion in XSL file ??]
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 9 Feb 2001 22:01:49 -0000
>    	<xsl:for-each select = "//SessionStartupTime" >
>         	<xsl:choose>
> 		<xsl:when test="SessionStartupTime >10">

Within xsl:for-each, your current node is a SessionStartupTime element. Your
"when" test is therefore looking for a SessionStartupTime element that is a
child of this SessionStartupTime, and it probably wont find one. Write
test=". > 10".

Mike Kay


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


Current Thread