Re: [xsl] Ignoring a DTD with document()

Subject: Re: [xsl] Ignoring a DTD with document()
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Apr 2024 20:54:37 -0000
On 19/04/2024 22:45, Mark Giffin m1879@xxxxxxxxxxxxx wrote:
I'm using XSLT 2.0, trying to open an XML file with document(), the
XML file references a DTD that is not available, and document() fails.
How can I get document() to ignore the DTD?


How are you using XSLT 2? From Java? There is a parser property you can
set for Xerces to ignore external DTD of an XML. Or do you expect to do
that for just one particular document call?

Current Thread