|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: access to combo data from xsl
Juan,
The <xsl:variable> element does not have to be empty. The content of a
variable is a template, which means you can put elements in it:
<xsl:variable name='var'>
<select name="combo1">
<option value="1900">1900</option>
<option value="1901">1901</option>
<option value="1902">1902</option>
<option value="1903">1903</option>
<option value="1904">1904</option>
<option value="1905">1905</option>
</select>
</xsl:variable>
You can also use XSLT elements, if that's what you really intended:
<xsl:variable name='var'>
<xsl:value-of select="combo1"/>
</xsl:variable>
Hope this helps.
Zarella Rendon
Principal Consultant
HMM Consulting International, Inc.
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://www.hmmci.com/ >
zarella@xxxxxxxxx
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Juan Perez
> Sent: Thursday, October 25, 2001 10:05 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: access to combo data from xsl
>
>
> Hi!,
>
> does anybody know the way to access data coming from a combo in a
> .xsl file?
> I mean, I want to get this data in a xml variable... this is to say,
>
> given
>
> <select name="combo1">
> <option value="1900">1900</option>
> <option value="1901">1901</option>
> <option value="1902">1902</option>
> <option value="1903">1903</option>
> <option value="1904">1904</option>
> <option value="1905">1905</option>
> </select>
>
> instead of
>
> <xsl:variable name='var' select='123'/>
>
> having something like
>
> <xsl:variable name='var' select='content of the combo value'/>
>
>
> Regards,
>
> Juan
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








