[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] JavaScript access to <xsl:script> results
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|