Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] document() can not used in IE6? [Thread Next] Re: [xsl] document() can not used in IE6?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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
