Posted by Tony Marston on 08/28/06 15:54
It depends. You can only perform client-side transformations if the client
browser supports it, and not all do. I have done client side transformations
with IE and Firefox (Firefox is quicker) but Opera is still very flaky.
The advantage of server-side transformations is that you don't need to care
about the client's XSL abilities as you send it nothing but HTML, and every
browser can handle HTML. The disadvantage is that each XSL transformation
requires extra resources on the server. The advantage of client-side XSL is
that this processing overhead is moved from the server to the client.
If you wish to use XSL transformations then the best way is to offer the
choice of either server-side or client-side processing. and let the client
make the choice. That's what I do.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"dawnerd" <dawnerd@gmail.com> wrote in message
news:1156701126.903934.299780@i42g2000cwa.googlegroups.com...
> Hi, I have a question that a friend was asking me a few minutes ago.
>
> Is it better to transform XSL on the client side, or let the server
> handle it? Or both, ensuring that everyone can view the site correctly.
>
[Back to original message]
|