[XML-SIG] Looking for XML to Python sequence code.

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat, 5 May 2001 00:28:08 +0200


> I'm looking for some Python code that convert XML to a Python native
> sequence object.
> Does anyone know where to get it?

Are you looking for a specific structure of the sequence? If not,
try

seq = open(filename).read()

seq will be a Python native sequence object representing the XML
document :-)

Regards,
Martin