xsl-list
[Top] [All Lists]

Re: iterating through nodes

2002-11-07 09:09:12
NIENKE, Bill P. - ACCOR-NA wrote:

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?


As usual, it's doing what you told it to do.  Try this:

<xsl:for-each select="//w:string">
    <xsl:value-of select="."/><br></br>
</xsl:for-each>


--
--------------------------
Jeff Kenton
DataPower Technology, Inc.



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>