JSLT, alternative to XSLT

JSLT is a browser based templating language like XSLT, but instead of using XML to encode the template logic, it uses normal Javascript with a few extensions.

JSLT, alternative to XSLT

JSLT, alternative to XSLT

     

JSLT is a browser based templating language like XSLT, but instead of using XML to encode the template logic, it uses normal Javascript with a few extensions. You can transform XML with it or just template with javascript variables. The JSLT processor parses the template using a recursive tokenizing parser and generates javascript code for fast dynamic re-execution. 

The general structure is: template[js]template{inline-xpath}[js]template. All code (13kb js/390 lines) is available under the LGPL license.

Read full Description