xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor