[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Repost: IE applies transformation, Fx does not
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|