This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: appending values
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] appending values
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 17 Jan 2001 09:30:58 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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