Re: Xml writing in Python and verifying using XSD

2005-05-29 Thread Prashanth Ellina
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

Re: Xml writing in Python and verifying using XSD

2005-05-27 Thread Diez B. Roggisch
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

Xml writing in Python and verifying using XSD

2005-05-27 Thread Prashanth Ellina
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