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: how to test a condtion in XSL file ??]


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


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