Python and XML Schema

Trond tamyk at online.no
Wed Jan 25 12:20:48 EST 2006


I have a need to, given a XML document with XML Schema defined, to get the 
type of each element in the XML file based on the XML Schema URI given. IE, 
the <title> element is of simple datatype string. Is there any existing 
Python libraries were I can parse the XML file, and for a given node ask for 
the datatype (which should be taken from XML Schema?)

Trond
 





More information about the Python-list mailing list