Subject: RE: [xsl] XSTL - Help / Easy one! From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Wed, 6 Feb 2002 08:46:11 -0000 |
<xsl:if test="position()!=last()">,</xsl:if> Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ragan > Sent: 06 February 2002 00:42 > To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' > Subject: [xsl] XSTL - Help / Easy one! > > > How can I remove the "trailing coma" on this XSLT output > with our using an "if" statement: > > XSLT: > <xsl:template match="Portfolio/Stock"> > <xsl:apply-templates select="Symbol"/>, > </xsl:template> > > > Output: > BA, BA, AAA, BBB, > > Input: > <Root> > <Portfolio> > <Stock>BA</Stock> > <Stock>BA</Stock> > <Stock>AAA</Stock> > <Stock>BBB</Stock> > </Portfolio> > </Root> > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSTL - Help / Easy one!, Mike Brown | Thread | [xsl] XSL output problem, Arief |
Re: [xsl] Xselerator, Agnes kielen | Date | RE: [xsl] Displaying XML in a new I, Andrew Welch |
Month |