[relaxng-user] Python support for RELAX NG?

A.M. Kuchling amk at amk.ca
Thu Nov 6 21:17:52 ICT 2003


On Thu, Nov 06, 2003 at 06:08:16PM -0800, Dave Kuhlman wrote:
> Is there someplace I can look for Python support for RELAX NG?

I have a page of rough notes at http://www.amk.ca/notes/rng.html .
libxml2 (www.xmlsoft.org) includes a RELAX NG validator and comes with
Python bindings.

> I've written quite a bit of a parser for the compact syntax. I'm
> using PLY to build the parser: http://systems.cs.uchicago.edu/ply/.
> I'd like to know if it's already been done before continuing.

David Mertz has a Python script that's supposed to translate from
RNC to RNG, but when I tried it on the RELAX NG schema, it crashed.
There's a link to it from my notes.

--amk


More information about the relaxng-user mailing list