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:[EMAIL PROTECTED]
Sent: Tuesday, 4 May 2004 2:22 p.m.
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to