This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Can XSLT Remove <!DOCTYPE...
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Can XSLT Remove <!DOCTYPE...
- From: Mike Brown <mike at skew dot org>
- Date: Thu, 12 Apr 2001 16:25:47 -0600 (MDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
paulhoward.co.uk 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: http://skew.org/xml/
webb.net in denver, colorado, USA | personal: http://hyperreal.org/~mike/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list