By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,846 Members | 1,872 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,846 IT Pros & Developers. It's quick & easy.

xml2schema

P: n/a
Hi
Is there any python tool to generate a schema from xml ??

//Mike
Sep 16 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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/

Sep 17 '05 #2

P: n/a
"""
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:

http://www-128.ibm.com/developerwork...ary/x-xmptron/

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

--
Uche
http://copia.ogbuji.net

Sep 23 '05 #3

P: n/a
"""
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:

http://www-128.ibm.com/developerwork...ary/x-xmptron/

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

--
Uche
http://copia.ogbuji.net

Sep 30 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.