On Sun, 2012-05-06 at 19:14 -0600, John W. Shipman wrote:
> On Mon, 7 May 2012, Graham Higgins wrote:

> | AIUI, the standard approach to handling large XML files is to use a
> | stream processor such as SAX.

> Since when does SAX have an OUTPUT option?!  I just looked at
> www.saxproject.org, and it seems to be all about reading.


Python's xml.sax library goes further

"Most users think of SAX as an XML input system, which is generally
correct; because, however, of some goodies in Python's SAX
implementation, you can also use it as an XML output tool."

from: "Using SAX for Proper XML Output"
http://www.xml.com/pub/a/2003/03/12/py-xml.html


specifically:



From the OP's first post:

"... Pyramid app that has to process/construct rather largish XML files"

and the second:

"I use much faster lxml with C extensions for parsing and xsd validation
as well"

Suggests that there's more than just generation going on.

-- 
Graham Higgins

http://bel-epa.com/gjh/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to