[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Which one is the best XML-parser?

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?