Python base distribution come with a validating XML parser?

goldtech goldtech at worldpost.com
Fri Jul 25 09:53:32 EDT 2008


Hi,

Basic XML questions,

I have a .xml file I want to validate against a .xsd file...

Does the Python base distribution come with a validating XML parser?

I want to make sure the elements in my xml file vs. the elements
defined in my xsd are a match.

I could parse both XML and xsd elements to lists and compare the
lists, but I imagine the validation process can do this too...

Some of this is basic stuff - just a link to a site or doc is
sufficient.

Thanks.



More information about the Python-list mailing list