- From: Philippe Le Hegaret <plh@w3.org>
- Date: 10 Oct 2002 17:07:25 -0400
- To: Zeljko VELAJA <zvelaja@visualfriendly.com>
- Cc: WWW DOM <www-dom@w3.org>
On Thu, 2002-10-10 at 11:42, Zeljko VELAJA wrote: > > 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. There is no way to set up the path to the DTD in DOM 1&2. DOM 3 has a way to validate against a DTD specified with the location. Philippe
Received on Thursday, 10 October 2002 17:07:28 UTC