Diez B. Roggisch wrote:
> Use StringIO to capture the output of your writings, and use a
> xsd-validating parser (not sure which one, but google should help) to
> reread that. Or a temporary file.
Thank you very much. I'll try that.
--
http://mail.python.org/mailman/listinfo/python-list
Prashanth Ellina wrote:
> 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
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