Subject: Re: [xsl] Re: Repost: IE applies transformation, Fx does not From: "M. David Peterson" <m.david@xxxxxxxxxx> Date: Tue, 04 Apr 2006 07:47:42 -0600 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Repost: IE applies transf, Manfred Staudinger | Thread | Re: [xsl] Re: Repost: IE applies tr, Manfred Staudinger |
Re: [xsl] Namespaces best practice , andrew welch | Date | Re: [xsl] Namespaces best practice , David Carlisle |
Month |