Subject: RE: [xsl] access to combo data from xsl From: "Zarella Rendon" <zarella@xxxxxxxxxxxxx> Date: Mon, 29 Oct 2001 11:24:02 -0600 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] access to combo data from xsl, Juan Perez | Thread | [xsl] Finding the highest node valu, Antoine Quint |
[xsl] XSLT Processor Comparison, Raul Rodriguez | Date | Re: [xsl] Xalan Encoding Problems, David_N_Bertoni |
Month |