loading a dtd from a file

with xsd you can define where to load the xsd file from over riding what
it says in the xml file with the command:

parser.setProperty(
	
"http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocat
ion", <xsdFile>);


If the same true of dtd files?


That is to say I want to define which dtd file my parser uses in
validating an xml file regardless of what the xml file defines 
as its dtd file.


Thanks in advance

Received on Tuesday, 29 January 2002 18:24:39 UTC