Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Safari] How to load XML document with javascript?



Le 29 oct. 2003, ` 01:02, ABC a icrit :

Dimitri

I tried to do the same, and it seems it can't be done at the moment in v1.0
Safari. Safari's DOM support is currently restricted to DHTML DOM, ie. you
can manipulate the currently loaded DHTML document, but not any other XML
document type. There is no document.implementation.createDocument() support
as in Mozilla, and no XMLHttpRequest object (or equivalent) for loading via
HTTP.

Thanks for your response, Phil.


Maybe in v1.1 .....

I hope for it. These missed functions are an important lack of current Safari version.


I found a temporary solution by using a javascript XML parser 'XML for <Script>':

<http://xmljs.sourceforge.net/index.html>

Dimitri Mouffet
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.

References: 
 >[Safari] How to load XML document with javascript? (From: Dimitri Mouffet <email@hidden>)
 >Re: [Safari] How to load XML document with javascript? (From: "ABC" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.