Jo Chan, 15.04.2010 10:52: > I just want to get the content from a XML. That's not a very specific description of what you want to do. What's "the content"? The plain text content? Or do you care about the structure? And what parts of the structure?
> I learn that there are two > modules in python handling XML.(SAX and DOM) Er, I just want to know if > there is some open source tools for handling XML which is easier to use or > has more powerful function. Try xml.etree.ElementTree, it's certainly much easier to use than the two above, and it's also in the stdlib. If you need more powerful features, take a look at lxml.etree, which is a (mostly) compatible external package. > By the way, besides<Diving into python> is there any great book for > learning python? That has been answered many times on this list. Check the archives, or look through the book references at http://wiki.python.org Stefan -- http://mail.python.org/mailman/listinfo/python-list