RE: [xsl] appending values

Subject: RE: [xsl] appending values
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 17 Jan 2001 09:30:58 -0000
> i have 5 list boxes. i need to append all their name 
> seperated by a comma as
> value of the textbox which is hidde,
> 
> eg. 
> 
> <input type="hidden" value="listbox1,listbox2,listbox3">

Something like

<xsl:attribute name="value">
 <xsl:for-each select="listbox">
   <xsl:if test="position()!=1">,</xsl:if>
   <xsl:value-of select="."/>
 </xsl:for-each>
</xsl:attribute>

Mike Kay
   

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


Current Thread