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]

RE: appending values


> 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


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