can't retrieve data from pyxml

Diez B. Roggisch deets at nospam.web.de
Wed Aug 19 09:01:45 CEST 2009


Sakib schrieb:
> well, i need to retrive data from the following line of xml.
> 
>      <xs:element name="tblTreacherCollins.Microtia"
> msdata:Caption="Microtia" type="xs:string" minOccurs="0" />
> 
> i need the Caption and the type data.
> 
> is any one out there help me doing that?

That's not XML. It lacks namespace-declarations. So no XML-parser will 
(or should) grok it.

Also, to get help here it's better to show what you already tried, 
instead of simply asking others to do your work for you.

Diez



More information about the Python-list mailing list