Fork me on GitHub

jquery.xslt

A lightweight jquery plugin to provide XSLT support via the Sarissa javascript library.

Features

Planned Features

Cheat Sheet

Transforming local data....

$.xslt.transform({stylesheet: xslt, source: xml});

Transforming jQuery wrapped data....

$('#hidden data').xslt({ stylesheet: '/assets/xsl/render.xslt' });

Transforming server side data....

$.xslt.transform({
	stylesheetUrl: '/assets/xsl/convert2svg.xslt', 
	sourceUrl: '/resources/designs'
});

Caching Transforms....

$.xslt.transform({
	stylesheetUrl: '/assets/xsl/convert2svg.xslt', 
	sourceUrl: '/resources/designs',
	useCash: true
});
      

Getting the result as a DOM (Document) object....

$.xslt.transform({stylesheet: xslt, source: xml, resultFormat: 'DOM'});

More Information

Authors

Tim Watson