How to dynamically specify a path to a DTD file

I would like to specify dynamically the path of a DTD file to the XML parser
: I've include a DOCTYPE declaration with a SYSTEM call to a relative URL.
The implementation of the DOMParser I'm using is Xerces for Java. I would
like to know if there is a way to resolve the relative URL of the SYSTEM
call programatically ? Much better : I'd like also, if it's possible, to
create the DTD InputSource myself, so as to keep full control upon input and
output in my program. Thanks for your help.

Received on Thursday, 10 October 2002 11:44:07 UTC