Re: request for advice - possible ElementTree nexus

2006-07-05 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > c) If I want to leave the xmlns information in the string that gets fed > to ElementTree.XML, and I want to remove the {whatever} from the tag > before building the data structure, what is the best way to find > {whatever} from the tag property...is this another case whe

Re: request for advice - possible ElementTree nexus

2006-07-05 Thread Gerard Flanagan
[EMAIL PROTECTED] wrote: > Situation is this: > 1) I have inherited some python code that accepts a string object, the > contents of which is an XML document, and produces a data structure > that represents some of the content of the XML document > 2) The inherited code is somewhat 'brittle' in th

request for advice - possible ElementTree nexus

2006-07-04 Thread mirandacascade
Situation is this: 1) I have inherited some python code that accepts a string object, the contents of which is an XML document, and produces a data structure that represents some of the content of the XML document 2) The inherited code is somewhat 'brittle' in that some well-formed XML documents ar