Re: [xsl] Using xsl:output in browsers, was: Re [xsl] XHTML html validation

Subject: Re: [xsl] Using xsl:output in browsers, was: Re [xsl] XHTML html validation
From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx>
Date: Mon, 19 Feb 2007 22:40:19 +0100
On 19/02/07, Robert Koberg <rob@xxxxxxxxxx> wrote:
On Mon, 19 Feb 2007 15:32:21 -0500, Abel Braaksma <abel.online@xxxxxxxxx>
wrote:

> Too all that are listening in: I advice Sarissa if you do browser based
> transformations. That will save you quite some hassle (it unifies the
> interface) and works for all browsers that support XSLT.
>

some browsers support some types of transforms and some of XSLT. For
example Safari does not support JS transforms (you have to use a PI).
Opera does not support (still...) the document function. Firefox and MS IE
are your best bets if you want to control client-side XSL with JS (i.e.
with something like Sarissa, or dojo).

There is another downside of Sarissa as it uses active-x. In corporate and government networks you will find it frequently disabled. A better solution would have been to use a PI and to load the document into iframes. This way the transformation is not dependent on JS either.

Regards, Manfred

Current Thread