Open daluu opened 11 years ago
Hi,
at the moment the library is intended for web usage - but I'll write this down as a feature request for upcoming versions. I can't promise a date for it to be implemented though, but keep your eyes open!
Hi again,
I've checked out some XSLT parsers for NodeJS, and there isn't a uniformity to them that Stapling could use in any way without binding a hard dependency to one of them.
Therefor I recommend extending one of them (I suggest you check out node_xslt) with your desired needs.
Or you could create a simple NodeJS module to transform the JSON to XML, with functionality from Stapling. I created a Gist (which is fully untested though) where I try to do just that!
Not really an issue but wanted to ask, can Stapling be used outside of the browser like with node.js, cscript/wscript.exe in Windows, other non-browser JS engines. I'd like to easily reformat JSON objects for use in REST API testing.