cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conal Tuohy" <Conal.Tu...@vuw.ac.nz>
Subject RE: Doctype declaration missing
Date Tue, 04 May 2004 06:53:17 GMT
Sarah Haff wrote:

> I have XSLT that does XML -> XML transformation. I
> want to include a doctype declaration in the output so
> my XSLT starts with:
> 
> <xsl:output method="xml"
> doctype-system="http://docbook.org/xml/4.2/docbookx.dtd"
> doctype-public="-//OASIS//DTD DocBook XML//EN"
> omit-xml-declaration="no"/>
> 
> However output that cocoon produces does not include
> the DocType Declaration. Any ideas and/or suggestions?

Yes ... I suggest you check your email and read my reply to your earlier question :-)

As far as I know you just can't do this with XSLT in Cocoon - you must configure a serializer
in your Cocoon sitemap - take a look. If you use <xsl:output> in your XSLT it will be
ignored. 

Cheers

Con

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message