Xml writing in Python and verifying using XSD

Prashanth Ellina prashanthellina at gmail.com
Fri May 27 06:01:05 EDT 2005


Hi,

I need to write some data to an xml file. I have an XML Schema defined.
I would like to use some mechanism of writing the data to the xml file
and having exceptions thrown back to me when the data is invalid.

I have looked at xml.dom and xml.dom.minidom but could not figure out
what to do to include xml validation using the xsd while writing.

Any ideas?

Thanks in advance,
Prashanth Ellina




More information about the Python-list mailing list