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

Saxon-CE pass data to JS

Subject: Saxon-CE pass data to JS
From: "Chris Despopoulos despopoulos_chriss@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Jun 2016 16:13:46 -0000
 Saxon-CE pass data to JS
I tried the following, but it doesn't find the object.B  Clearly I'm missing
the paradigm...B  Can you clarify for me?B  I created an object in the window
-- MyApp.buf.B  But there's an error setting the client-property: buf...

<ixsl:set-property name="buf" object="MyApp" select="MyString"/>
ThanksB B B B B B B B B B B B  cud


=========================


If you have the results in an XSLT variable, then I think you should be able
to pass this to Javascript code as an argument of an ixsl:call(), or you could
write it as a property of a Javascript object using ixsl:set-property.
Incidentally, we're quite close now to shipping a first version of Saxon-JS,
which will be a replacement for Saxon-CE written in pure Javascript. The
interfaces between XSLT and JS will probably be quite similar.
Michael KaySaxonica

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.