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: pilgrim_mark at yahoo dot com
- Date: Wed, 10 Jan 2001 10:35:22 -0800 (PST)
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.
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?
-M
--- Norman Walsh <ndw@nwalsh.com> wrote:
> / pilgrim_mark@yahoo.com was heard to say:
> | Could you add support for adding a DOCTYPE to HTML
> | output pages?
>
> You can't do that with a template, you should do
> that in your own
> customization layer with xsl:output:
>
> <xsl:output doctype-public="..."
> doctype-system="..."/>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/