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 <> wrote:
> / 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/