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

Saxon.js on the server?

Subject: Saxon.js on the server?
From: "O'Neil Delpratt oneil@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Jan 2015 01:26:34 -0000
 Saxon.js on the server?

A Saxon user on the Saxon-CE github mailing list proposed a way to use XSLT
with Node.js.  I have never used Node.js, but it seems like an interesting
project from its description.
I am asking if anyone from the XSLT community who has experience of using
node.js would find this project of use and interesting. See email below from
github user rimmartin:

for nodejs I put some c++ glue together to make a V8/node module work with
Saxon/C http://www.saxonica.com/saxon-c/index.xml
<http://www.saxonica.com/saxon-c/index.xml> instead of Saxon-CE. Typical node
code is

    var content = yield fs.readFile(global.inputXmlPath, "utf8");
    var saxonProcessor = new saxon.SaxonProcessor(false);
    var xsltProcessor = saxonProcessor.newTransformer();
    var pdbContent = xsltProcessor.xsltApplyStylesheet();
catch (err) {
Works like a charm. It is based on nodejs --harmony using the new yields and

Would this be of interest to the xslt and node communities?

To do: I need to implement parameters and properties. Can readily add xquery
processor as well.

O'Neil Delpratt
Software Developer, Saxonica Limited Email: oneil@xxxxxxxxxxxx
Tel: +44 118 946 5894
Web: http://www.saxonica.com
Saxonica Community site: http://dev.saxonica.com
Bug tracking site: https://saxonica.plan.io/

Current Thread


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.
First Name
Last Name
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.