This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: concatenate a string
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: concatenate a string
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Wed, 23 Feb 2000 10:42:32 -0000
- Reply-To: xsl-list at mulberrytech dot com
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