This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

=?utf-8?B?WFNUTCAtICBIZWxwIC8gRWFzeSBvbmUh?=


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]