Re: [xsl] iterating through nodes

Subject: Re: [xsl] iterating through nodes
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Thu, 07 Nov 2002 11:09:12 -0500
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


Current Thread