XSLToJSON gives you a handy C# XSLT Extension which will accept a snippet of XML and convert it into JSON data for you from within your XSLT as a string. Perfect for creating alternative data representations of your XML for use with AJAX or server-side javascript.
Included in the package:
* XSLT extension DLL
* James Newton-King's Json.NET DLL (for your own custom JSON needs)
* JSON alternative template to turn any of your pages in the JSON instantly
* toJSON macro used in the above template
* Auto wiring up of the extension into any new XSLT files you create
Yet another of our many best practise tools for helping developers make better websites, check out our other packages including DocTypeMixins, XSLTouch and our Asset Compressor.