SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: i need to access xml
-
Feb 25, 2002, 22:24 #1
i need to access xml
hi,
i want to get my hand dirty with xml, my first question is how do i get the data from an xml document using javascirpt & is there any good tutorial you can recomend me.
thanks
-
Feb 25, 2002, 22:37 #2
- Join Date
- Dec 2001
- Location
- erie, pa
- Posts
- 1,130
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
goto http://www.w3schools.com and read the various XML tutorials they have. they are quite easy to follow, in my opinion.
-
Feb 25, 2002, 23:08 #3
i'ts a good tutorial very detailed but it's for microsoft users. all their tutorial will only run on IE, is there anything else
-
Feb 26, 2002, 10:26 #4
- Join Date
- Jan 2002
- Location
- London
- Posts
- 3,509
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Do you mean client-side JS or server-side? If client-side, then I'm afraid you're out of luck - each of the browser brands features different XML support (some have no support at all), which is why the client-side examples that you come across are all for IE.
In order to maintain cross-browser compatibility, you need to perform the manipulation on the server so that the same result is delivered to all browsers. And even then, you can't just send a static stream of XML because of the varying support, so ultimately you have to transform the XML on the server into something more useful to the dumb browsers, such as (X)HTML.
This is why XML is best confined to server-side manipulation at the moment, possibly combined with optional support for client-side IE XML manipulation.
M@rco
-
Feb 26, 2002, 21:40 #5
what i mean is that the tutorials on w3schools are written for IE users not mozilla or netscape which i am looking
thanks
-
Feb 27, 2002, 04:11 #6
- Join Date
- Jan 2002
- Location
- London
- Posts
- 3,509
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
It is still not 100% clear whether you mean that you want to read cross-browser tutorials (which are therefore server-side), or ones specifically written for NS6/Moz (which I will refer to as plain old Mozilaa, since NS6 is just a repackaged and rebranded Mozilla) and which therefore disregard IE. However, I shall assume the latter, since my previous reply didn't seem to fit the bill.
I had originally believed that Mozilla was severely lacking in XML support, but further reading indicates that this is not quite true, although it's still not a patch on IE. A quick search on Google revealed these, which I thik may be of interest to you if you after Mozilla-specific XML code:
http://www.mozilla.org/newlayout/xml/
http://www.mozillazine.org/talkback.html?article=1398
http://www.xml.com/search/index.ncsp?sp-q=mozilla
Hope some of those are useful!
M@rcoLast edited by M@rco; Feb 27, 2002 at 04:16.
Bookmarks