uche.ogbuji at gmail.com uche.ogbuji at gmail.com
Fri Sep 30 23:33:29 CEST 2005

Er, do you mean to generate a Relax NG (or possibly a DTD in fact) from
some XML file??

If you do mean this then just think of that how you could generate
grammar from some paragraphs of English text...  Sorta non-trivial, if
possible at all, isn't it? :-)

Very well put.  However, for RELAX NG there is a tool that might work
for the OP: Examplotron.  See:


As I show in that article, you can use Examplotron from any XSLT
processor, including one invoked through Python API.


More information about the Python-list mailing list