Con,
Thanks for the reply. In my sitemap, I do have:
<map:serializer name="docbook" mime-type="text/xml;
charset=iso-8859-1"
src="org.apache.cocoon.serialization.XMLSerializer">
<doctype-public>//OASIS//DTD DocBook XML
V4.2//EN</doctype-public>
<doctype-system>http://docbook.org/xml/4.2/docbookx.dtd</doctype-system>
<encoding>iso-8859-1</encoding>
</map:serializer>
and
<map:serialize type="docbook"/>
in the pipeline section. But the output has not
Doctype Declaration.
Any ideas?
Thanks.
Sarah
--- Conal Tuohy <[EMAIL PROTECTED]> wrote:
> 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]
>
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]