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 02:25:38 GMT
Hi Sarah

In Cocoon, serialization is done in a separate step from transformation. So <xsl:output>
is ignored. To change your serialization, configure the serializer component. e.g. you can
configure the XML serializer as a "docbook" serializer, and use <map:serialize type="docbook"/>
in your pipelines.

Cheers

Con

-----Original Message-----
From: Sarah Haff [mailto:sarah_haff@yahoo.com]
Sent: Tuesday, 4 May 2004 2:22 p.m.
To: users@cocoon.apache.org
Subject: Doctype declaration missing 


Hi,

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?

Thank you.
Sarah





Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

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


Mime
View raw message