Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] Re: Repost: IE applies transformation, Fx does not

From: "Manfred Staudinger" <manfred.staudinger@--------->
To:
Date: 4/4/2006 11:00:00 AM
The difference stems from the fact, that instead of XMLHTTPrequest, I'm
using the location.replace method for retrieving the xml in IE (to
avoid activX).
This method triggers (unexpected by me) a XSLT transformation, if the xml
contains a PI for the stylsheet (in _all_ xslt enabled browsers).

Regards, Manfred

On 29/03/06, Manfred Staudinger <manfred.staudinger@xxxxxxxxx> wrote:
> Hi list,
> I've a xml file with a PI specified:
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet href="../view_names.xsl" type="text/xsl"?>
> <doc xmlns="http://www.w3.org/1999/xhtml">
> ...
> </doc>
> When I invoke a file like this with the browser, the file is fetched,
> gets transformed
> and the result is displayed, for both Fx 1.5 and IE 6.0 (MSXML 3).
> When I fetch the same file via javascript httprequest, then IE applies the
> transformation automatically before giving me access to the result-tree,
> whereas Fx (also Opera 9.0 beta) gives me the xml input-tree.
>
> Is this difference documented anywhere?
> May I prevent that transformation on IE somehow?
>
> Regards, Manfred


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent