setting dtd to validate against

Inside of java one can decide what xsd to use in validating an xml file
regardless of what the xml file things it's xsd file is
through the properties:
			parser.setFeature
("http://xml.org/sax/features/validation", true);
	
parser.setProperty("http://apache.org/xml/properties/schema/"
					+
"external-noNamespaceSchemaLocation",xsdFile);


Is the same true of DTD files?

I want to set the DTD file to use in validation like I can set the xsd
file.

Much appreciated

Received on Tuesday, 29 January 2002 18:25:00 UTC