This is a discussion on "Cross-browser XML parsing???" within the Other Programming Languages section. This forum, and the thread "Cross-browser XML parsing??? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Cross-browser XML parsing???
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Cross-browser XML parsing???
Hi everybody. I was just reading at XML parsing using JavaScript/DOM when I noticed that everything I saw created an ActiveX object to parse it. This of course means that it isn't compatible with Firefox, Netscape, etc.
I was wondering if there is a cross-browser method to do this using JavaScript because server-side scripting is not available yet. Thanks! Edit: Sorry if this is in the wrong forum. It relates to both XML and JavaScript, but I figured XML DOM would be the best choice. |
|
|
|
|||
|
It's not always possible to post in the correct forum, so don't worry about it too much!
In most situations, XML should be parsed on the server side. I can't think of a good reason for it not to be, other than you simply don't have that feature available. As for why most of the ones you saw used an ActiveX object - I can only assume that was done for speed. However, there is this site which appears to offer exactly what you want - and it's cross browser. But what if the user disables Javascript in their browser? What will you do then? |
|
|||
|
Thanks, Karl. I was hoping for something I could actually code myself, though. I found something to load the XML file, but now I need to figure out how to pull information from the file.
By the way, here is the JS solution I found for loading an XML file:
|
|
|||
|
Quote:
|
![]() |
| Tags |
| crossbrowser, xml, parsing |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cross browser issues | planescape | Web Page Design | 4 | Aug 29th, 2007 21:16 |
| Cross Browser issues. | Destx | Web Page Design | 5 | Mar 26th, 2007 18:56 |
| Cross-Browser difficulties... | Dapandyman | Web Page Design | 6 | Dec 9th, 2006 20:53 |
| New Cross-Browser Low | masonbarge | JavaScript Forum | 2 | May 11th, 2006 17:18 |
| Cross Browser | jwalker80 | Web Page Design | 10 | Dec 22nd, 2005 14:38 |