can't retrieve data from pyxml

2009-08-19 Thread Sakib
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?

thanks,
Sakib
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: can't retrieve data from pyxml

2009-08-19 Thread Diez B. Roggisch

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
--
http://mail.python.org/mailman/listinfo/python-list