JavaScript DOM XML parsing



VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Tagged on: ,

14 thoughts on “JavaScript DOM XML parsing

  1. mhussein9

    @plamague Thanks, I will 🙂

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  2. plamague

    Would be nice to hear it as well as see it, don’t be shy SPEAK UP!

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  3. mhussein9

    @colcoomagnumar Thank you, “zeft” and “neela” are Arabic words kinda like saying “crap” or “shit” .. lol

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  4. colcoomagnumar

    This is the most simple example of reading an XML file with JavaScript without jQuery…thanks!

    Out of interest, what does ‘zeft’ and ‘neela’ mean? 🙂

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  5. mhussein9

    Welcome, you might need to parse the XML file with a server side script (PHP for example) or pass the data with AJAX to a server side script that executes the query to your database.

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  6. kamdeath

    THanks for the video tutorial, I need o parsing some xml documents and send it to a data base.

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  7. mhussein9

    I’m not sure, didn’t try it with Google Chrome.

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  8. rbrtchng

    Does this work with google chrome? Most of the w3schools tutorials doesn’t work in chrome.

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  9. mhussein9

    Thank you!
    Because the element itself is a node and the text value of an element is another node.
    Hope that was helpful.

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  10. marekgola

    Thanks for the tutorial…
    I have a question though. Why do u need to use the childNodes[0] ?

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  11. mhussein9

    LoL, next time insha’allah
    thank you!!

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  12. Taltalig

    This is a very nice video, good job Hussein!
    more ATRAN tutorials plzz;)
    -Ahmed Badawy

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  13. mhussein9

    Thank you Ramy!

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  14. bloodbuf

    Nice work man i see that u used notepad++
    which make the code look very cool in the video good luck with your efforts
    Ramy M. Raslan

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

Leave a Reply