Re: Re: phpdoc_xsl sheets

From: Date: Wed, 23 Apr 2003 06:27:58 +0000
Subject: Re: Re: phpdoc_xsl sheets
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352824@lists.php.net to get a copy of this message
> > With my last commit, phpweb xsl sheets are nearly ready for primetime. > > The only one problem still here is that the output includes HTML > > !DOCTYPEs at the top of the files, which should not be there, as the PHP > > code after them tries to send out HTTP headers. I am on fixing this. > > AFAIR, this is generated in html/chunker.xsl. We discussed this with one developer of libxml2/xsltproc, and he showed me the code, which generates a default DOCTYPE header, even if you don't specify anything. If you specify something, then that doctype will be generated there. So there is no way using the current xsltproc binary to use the HTML output method, but have no DOCTYPE output on chunks.... The XSLT spec does not say anything on what to do, if a doctype is not specified, so xsltproc provides us a default, even if we don't like it to... Goba

« previous php.doc (#969352824) next »