what do you use to parse XML (in Perl, Python, PHP, etc)

Discussion in 'XML & RSS' started by NinjaWork, Jan 19, 2009.

  1. #1
    I'm trying to become a master of XML/RSS :cool:

    I used to do 100% regexes...fast but messy. Then I decided to read around and discovered SAX and DOM.

    My latest scripts I've been using LibXML in Perl, very fast! A port of the GNOME parser. What are all the other Perl XML parsers? Seems like there is a lot floating around that is very out of date.

    With Python, I just did a script using minidom and I was less than thrilled! I want to look into lxml (port of GNOME) and elementtree.

    I did just find this cool shallow copy method - kind of SAX like - I'm going to check out: http://www.cs.sfu.ca/~cameron/REX.html since I really do like just hacking away with regexes in the end :)
     
    NinjaWork, Jan 19, 2009 IP