xsl-list
[Top] [All Lists]

[xsl] Client-side cross-platform API

2010-01-12 17:33:26
uff.... keep using wrong email address

On Jan 12, 2010, at 12:28 AM, Michael Kay wrote:


What's the state-of-the-art for writing cross-browser Javascript to invoke
client-side XSLT transformations?

Is it still Sarissa, or are there alternatives?


It depends :) 

It would probably be the easiest solution that would allow you to cache the 
processor. 

Even easier, use the xsl processing instruction if performance is not a 
problem. Is the XSL going to run multiple times after a page has loaded or just 
once?

Would you be using it with some javascript framework like jquery? If so, there 
is a jquery plugin for XSL which might fit in better.

If you are in control of the XSL, it might be better just to write the JS for 
the transform yourself so you can tune it to provide just what you need. If you 
just need a simple transform, the JS is pretty simple. 

best,
-Rob



Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--