On Thu, Apr 15, 2010 at 6:52 PM, Stefan Behnel <stefan...@behnel.de> wrote:
> 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 > -- ------------------ Best Regards 陈松坚 信息科学与技术学院 中山大学 广州大学城 510006 Chen Songjian School of Information Science & Technology Sun Yat-sen(Zhongshan) University, Guangzhou Higher Education Mega Center, China, 510006 Mobile: +86-137-6069-6137 Email: csj...@gmail.com
-- http://mail.python.org/mailman/listinfo/python-list