> Regarding ... try lxml.
> http://codespeak.net/lxmlhttp://codespeak.net/lxml/tutorial.htmlhttp://codespeak.net/lxml/validation.html
>
Thx Stefan, it seems that lxml does everything I need. I have not
figured out all of the bells and whistles but the tutorials are
getting me up to speed. Based
mmm wrote:
> I am willing to learn and use new xml procedures, but I found nothng
> pre-written to validate agaisnt a given DTD file.
>
> Any advice would be welcome, even a good tutorial on XML validation
> usiog Python.
Regarding that part, try lxml.
http://codespeak.net/lxml
http://codespeak.
I found Python code to validate a XML document basd on DTD file
layout. The code uses the 'xmlproc' package and these module loading
steps
from xml.parsers.xmlproc import xmlproc
from xml.parsers.xmlproc import xmlval
from xml.parsers.xmlproc import xmldtd
Unfortunately, the xml package no long