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

2005-03-21 Thread Greg Wilson
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... Thanks, Greg ___ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mail

[XML-SIG] cgi unicode encoding problem

2005-03-21 Thread James King
Hi I am trying to convert CGI data, which arrives encoded with escape characters, into unicode data. t represents the type of character data that I start with (the result of fetching cgi-field data from a cgi.FieldStorage object). >>> t = '\x93quotation marks\x94, and a series of other characte

Re: [XML-SIG] cgi unicode encoding problem

2005-03-21 Thread Malcolm Tredinnick
This is probably more of a comp.lang.python question, since the XML content seems low, but anyway ... On Mon, 2005-03-21 at 23:22 +, James King wrote: > Hi > > I am trying to convert CGI data, which arrives encoded with escape > characters, into unicode data. > > t represents the type of ch

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

2005-03-21 Thread Fred L. Drake, Jr.
On Monday 21 March 2005 16:23, 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... minidom is essentially just the data structure; it isn't the actual par