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

Re: RE: How to pass VBScript variable in XSL code

Subject: Re: RE: How to pass VBScript variable in XSL code
From: Steve <subsume@xxxxxxxxx>
Date: Wed, 14 Nov 2007 12:26:22 -0500
Re:  RE: How to pass VBScript variable in XSL code
Yeah, I didn't want to nitpick the technology you were using, but the
things you're trying to achieve are about 10,000 times more compliant
and simple while using JavaScript, especially enhanced with a
framework like Prototype.js.

But we've wobbled off topic. =)

-Steve

On Nov 14, 2007 12:14 PM, Martin Honnen <Martin.Honnen@xxxxxx> wrote:
> Nistala, Anu wrote:
>
> > I have a dropdown list populated from XML. Now, based on the
> > selection on the dropdown the onclick event is expected to display
> > the description of the function.  The idea is to get the index of the
> > selected list item and display the corresponding description node
> > from the XML. I have tried several ways to pass the value to the xsl
> > tags. I tried Concatenating the string "<xsl:value-of
> > select=""functiontitle/funcdef[" & i & "]/funcdesc"" />". This did
> > not work (obviously... xsl didn't like it).
>
> I wouldn't use VBScript on the client as only IE/Win supports that.
> Consider to use JavaScript, then it is easy and works with Mozilla, IE
> and other browsers:
> <URL:http://home.arcor.de/martin.honnen/xslt/test2007111404.xml>
> Stylesheet used is
> <URL:http://home.arcor.de/martin.honnen/xslt/test2007111403Xsl.xml>
>
>
> --
>
>         Martin Honnen
>         http://JavaScript.FAQTs.com/

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.