| Subject: RE: [xsl] avoiding repeated items From: "Evan Lenz" <elenz@xxxxxxxxxxx> Date: Thu, 1 Mar 2001 15:01:59 -0800 | 
Tim Watts wrote: > <xsl:for-each select="poetas/autor"> > <xsl:choose> > <xsl:when test="not(.=preceding::autor)"> > <xsl:value-of select="."/> > </xsl:when> > </xsl:choose> > </xsl:for-each> Yep, or more succinctly, and with line breaks: <xsl:for-each select="/poetas/autor[not(.=preceding::autor)]"> <xsl:value-of select="."/> <xsl:text> </xsl:text> </xsl:for-each> Evan XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] avoiding repeated items, Tim Watts | Thread | RE: [xsl] avoiding repeated items, Don Bruey | 
| Re: [xsl] <xsl:include> and Oracle , Steve Muench | Date | RE: [xsl] RDDL as a delivery vehicl, Michael Kay | 
| Month |