This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: XSL HTML stylesheets: support for DOCTYPE?
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: XSL HTML stylesheets: support for DOCTYPE?
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Wed, 10 Jan 2001 14:56:42 -0500
- References: <20010110183522.15256.qmail@web6403.mail.yahoo.com>
/ pilgrim_mark@yahoo.com was heard to say:
| Actually, you can do it in a template, I did it the
| way I described and it worked like a charm (using
| Saxon). Using <xsl:output> seems much more elegant.
*Any* time you are tempted to use disable-output-escaping, I think
it's time to consider carefully the design of your stylesheet.
There's no question that it's sometimes necessary, but very, very
rarely, if ever.
| But I just tried it, and while it works for
| single-page XSL transformations, it fails for chunked
| output. Saxon writes each of the files without a
| <!DOCTYPE> and then outputs the <!DOCTYPE> to stdout.
| Do you know why?
I think you have to put the doctype-* entities on the saxon:output
element.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | The First Amendment is often
http://www.oasis-open.org/docbook/ | inconvenient. But that is besides
Chair, DocBook Technical Committee | the point. Inconvenience does not
| absolve the government of its
| obligation to tolerate
| speech.--Justice Anthony Kennedy,
| in 91-155