On Wed, 31 Oct 2001 18:36:47 +0100, Jan Delgado wrote: >i am parsing (validating) xml code with the >xml.dom.ext.reader.Sax2.FromXml() function. >the xml code contains a reference to a dtd. Try this (code not tested): s =3D xmlreader.InputSource("path/to/your/dir/dummy.xml") s.setByteStream(cStringIO(your_xml_string)) p.FromXmlStream(s) Ciao, J=FCrgen