[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Is DOCTYPE only generated in chunking?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 / Bob Stayton <email@example.com> was heard to say: | On Fri, Apr 04, 2003 at 09:26:26AM +0100, Norman Walsh wrote: |> / John Himpel <firstname.lastname@example.org> was heard to say: |> | I was attempting to run "HTML Validation" at www.w3.org, when I seem to |> | have discovered that using html/docbook.xsl as the top-level stylesheets |> | does not generate a DOCTYPE declaration. However, using either |> | chunk.xsl or onechunk.xsl does. |> |> Are you sure you didn't change something else? I can't reproduce your |> experience. I don't get a DOCTYPE for any of html/docbook.xsl, |> html/onechunk.xsl, or html/chunk.xsl. | | Norm, what processor are you using? xsltproc outputs | an HTML DOCTYPE for chunk.xsl and onechunk.xsl. | I think its serializer does that when output | method is "html". Saxon does not by default, but | it can be turned on for chunk.xsl and onechunk.xsl | by setting the chunker.output.doctype-public and | chunker.output.doctype-system stylesheet parameters. I expect I tested with Saxon. Uhm, so xsltproc outputs a doctype when you say method=html on a chunk, but not on the principle result tree? I wonder why not. And what public/system identifiers does xsltproc use for the chunked ones? Be seeing you, norm - -- Norman Walsh <email@example.com> | The future belongs to those who http://www.oasis-open.org/docbook/ | believe in the beauty of their Chair, DocBook Technical Committee | dreams.--Eleanor Roosevelt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/> iD8DBQE+lr9xOyltUcwYWjsRAt1NAKCVUrM0mUo46651ZfN0MlPuk0pbrQCfa1yN jSoB8w3zG6fVad5pc3m/V1A= =A94A -----END PGP SIGNATURE-----