xsl-list
[Top] [All Lists]

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

2006-04-04 03:59:42
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(_dot_)staudinger(_at_)gmail(_dot_)com> 
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


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>