Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - "Node-set" Nomenclature RE: Please help (XSLT)To: Date: 6/1/2000 6:11:00 PM > 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
