W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2002

How to dynamically specify a path to a DTD file

From: Zeljko VELAJA <zvelaja@visualfriendly.com>
Date: Thu, 10 Oct 2002 17:42:19 +0200
To: <www-dom@w3.org>
Message-ID: <000701c27073$9f0eea60$2e00000a@visual.com>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:10 UTC