cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain Ketterlin <>
Subject Re: <!DOCTYPE generation
Date Fri, 25 Aug 2000 10:13:04 GMT
Aurélien DEHAY (25 Aug) writes:

> I use a broker to use 2 XSL files: one for HTML, a second for PDF. I'd
> like to generate a <!DOCTYPE entry in the XML file generated by the
> first XSL. Where, and how, can I write it?

Cocoon doesn't support xsl:output. You have to use <?cocoon-format
type="text/html"?>, and setup the correct DTD in your file. BTW, everything is ready for HTML, so you
shouldn't have anything to do, provided you insert the PI above, via

-- Alain.

View raw message