XML Tree Discovery (script, tool, __?)

George Sakkis gsakkis at rutgers.edu
Fri Oct 28 05:19:42 EDT 2005


"eric.pederson at gmail.com" wrote:

> Hi all,
>
> Finally diving into XML programmatically.  Does anyone have a best
> practice recommendation for programmatically discovering the structure
> of an arbitrary XML document via Python?
>
> It seems like it is a common wheel I'd be re-inventing.
>
> Thanks and cheers


I was looking for something similar (XML to DTD inference) but I didn't
find anything related in python. Trang
(http://www.thaiopensource.com/relaxng/trang-manual.html#introduction),
on the other hand seems impressive after a few non-trivial tests. It
would be neat to have it ported in python, at least the inference part.

George




More information about the Python-list mailing list