SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Hybrid View

  1. #1
    web daemon jorasmi's Avatar
    Join Date
    Nov 2001
    Location
    Philippines
    Posts
    296
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question 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

  2. #2
    \m/ R.I.P. Dimebag! \m/ JimBolla's Avatar
    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.

  3. #3
    web daemon jorasmi's Avatar
    Join Date
    Nov 2001
    Location
    Philippines
    Posts
    296
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  4. #4
    The doctor is in... silver trophy MarcusJT's Avatar
    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

  5. #5
    web daemon jorasmi's Avatar
    Join Date
    Nov 2001
    Location
    Philippines
    Posts
    296
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what i mean is that the tutorials on w3schools are written for IE users not mozilla or netscape which i am looking
    thanks

  6. #6
    The doctor is in... silver trophy MarcusJT's Avatar
    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@rco
    Last edited by M@rco; Feb 27, 2002 at 04:16.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •