Re: xml2schema
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: xml2schema

From: <uche.ogbuji@gmail.com>
Date: Fri Sep 30 2005 - 23:33:29 CEST

"""
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/developerworks/xml/library/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
Received on Sat Oct 15 04:01:13 2005