RE: [xsl] What effect does DOCTYPE have

Subject: RE: [xsl] What effect does DOCTYPE have
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 31 Jan 2006 13:21:16 -0000
> Does the XSLT processor try to read the DTD? 

No, but the XML parser does.

> Is there anyway to avoid this? 

Only by removing the DOCTYPE declaration, or redirecting the reference to a
dummy DTD.

I essentially want the same output, including 
> the DOCTYPE 
> info, but with changes to the processing instructions.

Unfortunately the XML parser doesn't tell the XSLT processor what DOCTYPE
declaration was present, so the XSLT processor can't reproduce it in the
output.

Michael Kay
http://www.saxonica.com/

Current Thread