XSLT on client

now this is something that always bothering me for the whole week.Smile 

Hitting rocks. but finally comes up with conclusion that most of browser these days already support XSLTProcessor and the transform.

that goes also with Safari Desktop, beginning from version 3 already support this one,earlier it's not possible to access it via javascript.

 

As i tried Sarissa For Transforming xml to xslt , it's buggy and not using the Supported one XSLTprocessor instead using it's own transformation.

Another Option for this which is running very well and quite small size 8kb. is the XSLT.js

 

XSLT.js support non jquery plugin.

Just a

new Transformation().setXml("document.xml")
       
.setXslt("document.xsl").transform("transformResult");

 

or directly the string on setxml and setxslt

 

Share this post: | | | |
Published Friday, February 06, 2009 10:13 AM by cipto
Filed under:

Comments

No Comments