Re: document() function query
Martin Honnen <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | Liberty Development |
| Message-ID | <[email protected]> |
Steve Benner wrote: > can anyone tell me if the > implementation of the XSLT document() function within Mozilla supports > access to files from a server other than the one hosting the referring > XSLT file? I'm trying to include a dynamic reference to an external > datasource and I am getting nothing (null string) back. The URI works > fine if I render it as text via the XSLT and then copy and paste what is > displayed into the browser's (Firefox, Mac OS X 10.3.7) location field. > Works fine too if I save that returned file to my server and then > reference that within the XSLT, so it looks like the external call is > failing. The FAQ <http://www.mozilla.org/projects/xslt/faq.html> says that a stylesheet is not loaded from a different domain for security reasons, from what you describe the same seems to apply for any attempt to load a secondary XML input from a different domain. -- Martin Honnen http://JavaScript.FAQTs.com/