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

Subject: Re: [xsl] Ignoring a DTD with document()
From: "Michael Kay michaelkay90@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Apr 2024 12:40:44 -0000
The answer is, it depends entirely on the XSLT processor you are using. Most
XSLT processors are likely to give you access to some kind of resolver
mechanism that enables you to control the options used for XML parsing; and at
that point it depends on the XML parser you are using.

Michael Kay
Saxonica

> On 19 Apr 2024, at 21:45, Mark Giffin m1879@xxxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> 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?
>
> Thanks,
> Mark

Current Thread