dtd and xml schema parse

Martin von Loewis loewis at informatik.hu-berlin.de
Thu Oct 11 13:29:04 EDT 2001


Rock VZ <rockvz at yahoo.com> writes:

> What are the pyhton libraries available to parse dtd
> and xml schema documents.
> Are these releases stable?

I recommend to use PyXML for both; see pyxml.sf.net. To parse DTDs,
you need to use xmlproc. Not sure what you mean by "parse schema
documents". An XML schema is an XML document itself, so any XML parser
can parse it (including those provided by PyXML). If you where looking
for parsers that parse XML documents that follow a schema: well, still
any XML parser will do. If you need schema validationL that is not
supported in PyXML, yet. The W3C XSV project has produced a
schema-validating parser using Python.

Regards,
Martin



More information about the Python-list mailing list