xsl-list
[Top] [All Lists]

RE: What effect does DOCTYPE have

2006-01-31 06:21:16
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/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>