Re: xsd and python
Stephane Bortzmeyer <[email protected]>
| Newsgroups | gmane.comp.python.xml |
|---|---|
| Organization | NIC France |
| Message-ID | <[email protected]> |
On Wed, Sep 12, 2007 at 02:25:26PM +0200, Steen Manniche <[email protected]> wrote a message of 37 lines which said: > If you by "generate xml from xsd" mean to make an xml instance of an > xml schema, then trang[1] does that job. Nothing in the Web page or in the manual suggests that trang has this ability. trang can do the opposite, infer a schema from an instance, like Examplotron does: % cat toto.xml <toto> <foobar/> </toto> % trang -Ixml -Ornc toto.xml toto.rnc % cat toto.rnc default namespace = "" start = element toto { element foobar { empty } } _______________________________________________ XML-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/xml-sig