[XML-SIG] xsd and python
stm at dbc.dk
Wed Sep 12 14:25:26 CEST 2007
Wednesday 12 September 2007 skrev Stefan Behnel:
> Jachym Cepicky wrote:
> > could anybody point me to best documentation resource, where I could
> > learn, how to work with XSD and python?
> > I hope, it would be possible to generate XML based on XSD or maybe some
> > Python code according to to it. I have no clue, whether this is possible
> > or if it is possible in general, but not with python yet.
> I'm not aware of any Python tool that "generates XML based on XSD" (whatever
> that means), but there are a couple of tools that support validation with XML
> Schema, such as lxml.etree.
> XML-SIG maillist - XML-SIG at python.org
If you by "generate xml from xsd" mean to make an xml instance of an xml schema, then trang does that job.
:http://www.thaiopensource.com/relaxng/trang.html, also available through dpkg for debian and ubuntu
Steen Manniche, Programmør.
Dansk BiblioteksCenter A/S
More information about the XML-SIG