xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
Keywords
xsl
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor