[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: document() can not used in IE6?

Subject: Re: document() can not used in IE6?
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Mon, 02 Jul 2007 12:25:35 +0200
Re:  document() can not used in IE6?
Manfred Staudinger wrote:
On 30/06/07, Houghton,Andrew <houghtoa@xxxxxxxx> wrote:
The document() function may be supported in IE, but only if your security
zone is local and not the Internet. IE for security reasons may be
disabling the document() function if you are browsing a page on the
Internet and the page tries to do a client side XSL transform. The
document() function however, is supported in the underlying MSXML DLL.

With the document() function you can fetch any XML document, _provided_ it comes from the _same_ domain (same in Fx and IE).

not exactly the same, though. Firefox does not allow more significant paths. I.e., if your XSLT path is 'http://domain.com/mypath/xsltfiles/my.xslt', then you cannot use document() to open something from 'http://domain.com/yourpath'.


In IE you can (but I'm not sure of all versions, MS tends to change these things so rapidly....).

In addition, I now suddenly remember that I once had this problem that the OP mentioned: using an absolute path was *always* seen as different domain by IE, regardless the fact that the domain is equal to the current domain. To resolve this, you have to create a relative path for IE, instead of an absolute one. (I am not sure this is true in all security situations though, or for all versions / SPs of IE).

Cheers,
-- Abel

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.