Re: Permission denied to call method XMLDocument.load
"Daniel Frechette" <daniel_@_treknowledge_._com>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | TreKnowledge Inc. |
| Message-ID | <[email protected]> |
Thank you Martin. I will try that immediately and keep you posted. Daniel "Martin Honnen" <[email protected]> wrote in message news:[email protected]... > > > Daniel Frechette wrote: > >> I added an "onload" event handler, but the event handler function >> "onload()" never gets called. Why? > > Have you ever tried to load > http://treknowledge.com/dmsxpert/test.xml > with Mozilla? It complains the the content type sent is > application/octet-stream and does not render the XML so you need to change > your server configuration to ensure that the .xml and .xsl files are > served as application/xml. > Then Mozilla will parse them as XML. > > > -- > > Martin Honnen > http://JavaScript.FAQTs.com/