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

JavaScript access to <xsl:script> results

Subject: JavaScript access to <xsl:script> results
From: "Smothers, Brian" <Brian.Smothers@xxxxxxx>
Date: Wed, 13 Mar 2002 09:30:46 -0500
javascript access
Hi All -

Searched the archives, but can't find a solution to the very last part of my
problem.

Here's what I'm doing:
I have an <xsl:script> which sorts and sums 3 values extracted from my XML
datastream (I get the correct results displayed via <xsl:eval> command).
I'm then building several VML generated pie charts using JavaScript
variables (globally defined).

I've defined the variables as Global within the <xsl:script> (not sure this
is legal, but it doesn't cause errors) thinking that I could then simply
access them from the JavaScript routine which builds and displays the VML
piecharts.

These 2 "routines" work fine separately (all this stuff is in a single XSL
Style Sheet).

Here's the problem:
I can't seem to access the XSL results/variables from JavaScript (I get an
undefined variable error).
Is there a way to do this?

I need these results to tie everything together... sort, sum and finally
build these dynamic piecharts from the XML data.

Any suggestions would be appreciated.

Brian

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.