Dirk Meyer wrote: [snip] >> Features: tons of features. xpath is *very* useful when reading in XML. >> XSLT, schemas, fast messy HTML parser support, etc. > > I do not think we need that.
I see you are using BeautifulSoup for something now, so you are dealing with HTML somewhere? xpath is convenient when dealing with XML structures, but ElementTree.find() will do for many simple cases. [snip] >> http://effbot.org/zone/element-iterparse.htm > > I have a question about that one. I'm writing an XMPP module for kaa > and I'm looking for a good XML lib. The problem: I get the strings > From a socket and they may not be complete. iterparse can work with > that. BUT the tree will NEVER be complete, the last closing element > </stream> will be at the end of the conversation. That is why I use > SAX, but maybe lxml could also be handy. Unfortunately I don't know the answer to that one - I haven't used iterparse enough to know it. You may want to ask on the lxml or ElementTree mailing lists to see whether that is a problem. Regards, Martijn ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel