This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
pass a value from html to xsl
- To: "'xsl-list'" <XSL-List at mulberrytech dot com>
- Subject: pass a value from html to xsl
- From: "Liu, Ying" <YiLiu at lehman dot com>
- Date: Mon, 15 May 2000 10:24:25 -0400
- Reply-To: xsl-list at mulberrytech dot com
Hi, I have spent some time on this problem and I hope someone can share your
experience with me.
I want to pass a value from html form to xsl. For example, in a javascript
function, I got the value of selectedIndex from a drop down list, then I
want to pass this value to xsl:variable, and to pass this variable to xsl to
get the corresponding position of element in xml. I did like this, but it
doesn't work.
function getValue() {
with(document.formName){
<xsl:variable name="detailPosition"
select="dropDownList.selectedIndex"/>
}
}
Does anyone know if there has any possibility to do like this?
thanks for your information in advance.
Ying
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list