Hello,

I am parsing many XML files which all use the same DTD requirements. I would like ultimately to be able to parse these XMLs just using an Inputstream, but the first hurdle is getting the Document object to recognize an external DTD. As of now each XML is separated into its own directory (with other files associated with it) and so I have to have multiple copies of the same DTDs (one for each directory containing the XML). I would like the DTDs to be in one directory and point to that directory when parsing. Is there a way to accomplish this? Also any suggestions on being able to parse XMLs from an Inputstream is appreciated.

Thanks in advance.