[XML-SIG] using PyXML on a string

Martin v. Löwis martin@v.loewis.de
23 May 2003 07:18:59 +0200


Paul Tremblay <phthenry@earthlink.net> writes:

> Can I not use parse(string)?

There are several ways to do that. One is to create a [c]StringIO
object and parse that; the other is to use the IncrementalReader API,
and invoke .feed instead of .parse.

HTH,
Martin