pass a value from html to xsl

Subject: pass a value from html to xsl
From: "Liu, Ying" <YiLiu@xxxxxxxxxx>
Date: Mon, 15 May 2000 10:24:25 -0400
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


Current Thread