[XML-SIG] Simplest free DOM-like toolkit with validation?

Martijn Faassen faassen at infrae.com
Tue Apr 12 13:56:24 CEST 2005


Greg Wilson wrote:
> Hi everyone.  I'm about to start work on the XML data crunching lectures 
> for the PSF-funded software development course [1], and would like 
> advice on which of Python's many XML toolkits to use.  The default 
> choice is minidom, but having taught with it for a couple of semesters, 
> I find it clunky compared to (for example) ElementTree.  However, 
> ElementTree doesn't support validation against external DTDs, or RelaxNG
> schemas.

lxml supports RelaxNG, though the support is only starting. 
Unfortunately it's not trivial to install, especially due to the 
libxml2/libxslt requirement.

http://codespeak.net/lxml

Regards,

Martijn


More information about the XML-SIG mailing list