> Hi all > > How do you parse a XML document against a specific DTD, not the > one that is defined in the xml DOCTYPE tag?. The problem is that > if I generate a XML file with a DTD in one client and I want to > get the DOM in the server the DTD file could has another path, > so I have to be able to specify the DTD file before parse the XML > Document. Of course I need validation. I have tried to find it in > the APIs, but no way. > Any idea?
This is possible for schema validation since Xerces 1.4.1, but IMHO not for DTDs. I suggest you only use relative references within your xml document (e.g. 'dtds/myDTD.dtd') and have the server the same path structure relative to its working directory. Regards. -- Bjoern Martin [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
