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

RE: concatenate a string


Subject: RE: concatenate a string
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 23 Feb 2000 10:42:32 -0000

what i need is this :
> 
> <var
> name=fieldList="INFO_REC,MATERIAL,MAT_GRP,VENDOR,DELETE_IND,CR
> EATED_AT,CREAT
> ED_BY,SHORT_TEXT,SORTED_BY,PO_UNIT">

Try:

 <var>
 <xsl:attribute name="fieldlist"
 <xsl:for-each
  select="BusinessObject/Export/Table/Record[1]/Parameter/@Name">
  	<xsl:value-of select="."/>
	<xsl:if test="position()!=last()">,</xsl:if>
  </xsl:for-each>
 </xsl:attribute>
 </var>


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



Current Thread