This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: how to test a condtion in XSL file ??]
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] how to test a condtion in XSL file ??]
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 9 Feb 2001 22:01:49 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> <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