Subject: Re: iterating through nodes
From: Margarita Manterola <margaritam@xxxxxxxxxx>
Date: 07 Nov 2002 13:15:58 -0300
|
El jue, 07-11-2002 a las 12:53, NIENKE, Bill P. - ACCOR-NA escribió:
> When I use <xsl:for-each> I get the first <string> node over and over.
>
> <xsl:for-each select="//w:string">
> <xsl:value-of select="//w:string"/><br></br>
> </xsl:for-each>
>
> How do you force a move to the next node?
Usually, it just moves. Try using
<xsl:value-of select="."/>
This would show the value of each node as the for-each iterates.
Love,
Margarita Manterola
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|