Which one is the best XML-parser?

Random832 random832 at fastmail.com
Fri Jun 24 09:09:33 EDT 2016


On Fri, Jun 24, 2016, at 02:39, dieter wrote:
> You want an incremental parser if the XML documents are so huge that
> you must process them incrementally rather than have a data structure
> representing the whole document (in memory). Incremental parsers
> for XML are usually called "SAX" parsers.

You know what would be really nice? A "semi-incremental" parser that can
e.g. yield (whether through an event or through the iterator protocol) a
fully formed element (preferably one that can be queried with xpath) at
a time for each record of a document representing a list of objects.
Does anything like that exist?



More information about the Python-list mailing list