Subject: RE: [xsl] Introducing a comma. From: kakridge@xxxxxxxxxxxxx Date: Tue, 18 Nov 2003 12:50:00 -0500 |
This is my first post, so hope it goes well. Ram, this might at least get you started in the right direction. <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'> <xsl:template match='signature'> <xsl:for-each select="in"> <xsl:value-of select="."/> <xsl:if test="position() mod 3 != 0"> , </xsl:if> </xsl:for-each> </xsl:template> </xsl:stylesheet> -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Ram Sent: Tuesday, November 18, 2003 12:10 PM To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Introducing a comma. Hi, Can anyone help me out in introducing a comma? The xml source is: <signature>signature <identifier>DNSQuery</identifier> <in>in<long>long</long><identifier>a</identifier></in> <in>in<string>string</string><identifier>b</identifier></in> <in>in<float>float</float><identifier>c</identifier></in> </signature> I've to introduce a comma between the first and second 'in',and between the second and third 'in' but not after the third 'in'. Thanks and regards, Ram __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree 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] Introducing a comma., M. David Peterson | Thread | RE: Re: [xsl] Introducing a comma., cknell |
Re: [xsl] Introducing a comma., M. David Peterson | Date | [xsl] Finding total hours between t, kakridge |
Month |