OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: XSL HTML stylesheets: support for DOCTYPE?


/ 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC