[XML-SIG] Reading characters

Martin v. Loewis martin@v.loewis.de
22 May 2002 00:07:08 +0200


Albert Chin <xml-sig@thewrittenword.com> writes:

> I have an XML element that contains a lot of data (it's a base64
> encoded file). Reading the characters through the default characters()
> function is slow (one line at a time). How can I read more?
> 
> I'm using PyXML 0.7.1 and Python 2.2.1.

Can you elaborate? What kind of parsing technology do you use? Expat,
SAX, minidom, something else?

What do you mean by "read through"? Can you share a bit of code?

Regards,
Martin