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? :-) Best regards, Miklos -- The ring of the friendly serpent in business suit: Python, Zope, Plone http://www.jegenye.com/ -- http://mail.python.org/mailman/listinfo/python-list