[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: access to combo data from xsl

Subject: RE: access to combo data from xsl
From: "Zarella Rendon" <zarella@xxxxxxxxxxxxx>
Date: Mon, 29 Oct 2001 11:24:02 -0600
combo data
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.