[XML-SIG] xsd and python

Stephane Bortzmeyer bortzmeyer at nic.fr
Wed Sep 12 14:58:57 CEST 2007

On Wed, Sep 12, 2007 at 02:25:26PM +0200,
 Steen Manniche <stm at dbc.dk> 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

trang can do the opposite, infer a schema from an instance, like
Examplotron does:

% cat toto.xml 

% trang -Ixml -Ornc toto.xml toto.rnc

% cat toto.rnc
default namespace = ""

start =
  element toto {
    element foobar { empty }

More information about the XML-SIG mailing list