[XML-SIG] does xml.dom.minidom support DTD validation?

Uche Ogbuji Uche.Ogbuji at fourthought.com
Tue Mar 22 21:55:11 CET 2005


On Mon, 2005-03-21 at 16:23 -0500, Greg Wilson wrote:
> Title says it all --- is there a way to get xml.dom.minidom to validate 
> a document against a DTD?  Or against a Relax:NG schema?  I've googled, 
> but am coming up dry...

Not a direct answer, but close.  With 4Suite's cDomlette the following
recipe does the trick:

http://uche.ogbuji.net/tech/akara/nodes/2003-01-01/relaxng

See also:

http://uche.ogbuji.net/tech/akara/nodes/2003-12-30/relaxng-python

-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Use CSS to display XML, part 2 - http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss2-i.html
Introducing the Amara XML Toolkit - http://www.xml.com/pub/a/2005/01/19/amara.html
Gems from the Mines: 2002 to 2003 - http://www.xml.com/pub/a/2005/03/02/pyxml.html
Be humble, not imperial (in design) - http://www.adtmag.com/article.asp?id=10286
Querying WordNet as XML - http://www.ibm.com/developerworks/xml/library/x-think29.html
Packaging XSLT lookup tables as EXSLT functions - http://www.ibm.com/developerworks/xml/library/x-tiplook2.html



More information about the XML-SIG mailing list