RE: Please help (XSLT)

Subject: RE: Please help (XSLT)
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 1 Jun 2000 17:10:40 +0100
> 	At the CONDITION, when I tried this:
> 	<xsl:value-of select="//EXPIRE"	 />
> 	It only print out the first TICKET's EXPIRE value which 
> is "2 May 2000".

The string() function when applied to a node-set (which <xsl:value-of> does
implicitly) returns the string-value of the first node in the node-set. If
you want all the values, use something like:

    <xsl:for-each select="//EXPIRE">
       <xsl:value-of select="."/>

Mike Kay

 XSL-List info and archive:

Current Thread