xsl-list
[Top] [All Lists]

RE: RE: Re: Introducing a comma.

2003-11-18 11:21:14
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(_at_)onebox(_dot_)com - email

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



<Prev in Thread] Current Thread [Next in Thread>