This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
=?utf-8?B?WFNUTCAtICBIZWxwIC8gRWFzeSBvbmUh?=
- From: =?utf-8?B?UmFnYW4sIE1pdGNo?= <mitch dot ragan at boeing dot com>
- To: =?utf-8?B?J3hzbC1saXN0QGxpc3RzLm11bGJlcnJ5dGVjaC5jb20n?= <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 5 Feb 2002 16:41:54 -0800
- Subject: [xsl] =?utf-8?B?WFNUTCAtICBIZWxwIC8gRWFzeSBvbmUh?=
- Reply-to: xsl-list at lists dot mulberrytech dot com
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