|
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="."/>
</xsl:for-each>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Please help (XSLT), Ben Robb | Thread | "Node-set" Nomenclature, John Robert Gardner |
| RE: Please help (XSLT), Ben Robb | Date | RE: Making dynamic href's in XSL, Brian Burridge |
| Month |