Re: [xsl] Can XSLT Remove <!DOCTYPE...

Subject: Re: [xsl] Can XSLT Remove <!DOCTYPE...
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 12 Apr 2001 16:25:47 -0600 (MDT) wrote:
> Ive scoured the archives and Dave's FAQ but I cant find anyway XSLT can be
> used to remove <!DOCTYPE.... > tags from input files.

XSLT should never see these, since they are not part of the XPath data
model. They are not intended for the application to see, anyway; they are
for the XML parser's benefit. XSLT operates on parsed XML documents, not 
the raw input. For the same reason, character and entity references are 
not accessible from within XPath/XSLT.

   - Mike
mike j. brown, software engineer at  |  xml/xslt: in denver, colorado, USA    |  personal:

 XSL-List info and archive:

Current Thread