I am retreiving XML resources from the net and transforming them locally via XSL with Apache Xalan. Whenever an XML file contains a DOCTYPE declaration, the parser insists on looking up the remote DOCTYPE URL. How can I avoid that?

Davanum Srinivas

You need to set a custom EntityResolver as documented in:

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.