[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: RE: Re: [xsl] Introducing a comma.


Subject: RE: RE: Re: [xsl] Introducing a comma.
From: cknell@xxxxxxxxxx
Date: Tue, 18 Nov 2003 13:21:14 -0500

Here's a shorter, but equivalent template:

  <xsl:template match="*">
    <xsl:copy-of select="." />
     <xsl:if test="name() = 'in' and not(position() = last())">,</xsl:if>
  </xsl:template>
-- 
Charles Knell
cknell@xxxxxxxxxx - email

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread