xsl-list
[Top] [All Lists]

Re: iterating through nodes

2002-11-07 09:15:58
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



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