[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSTL - Help / Easy one!
<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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|