Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] document() can not used in IE6?

From: Abel Braaksma <abel.online@--------->
To:
Date: 7/2/2007 10:29:00 AM
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


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