cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhavya Sharma <bhavyasha...@gmail.com>
Subject Re: Remove XML declaration and html DOCTYPE
Date Wed, 19 Jun 2013 15:05:57 GMT
try this

<map:serializer name="xml-omit" mime-type="text/html"
src="org.apache.cocoon.serialization.XMLSerializer">
 <encoding>UTF-8</encoding>
<omit-xml-declaration>true</omit-xml-declaration>
 </map:serializer>



On Wed, Jun 19, 2013 at 8:33 PM, Joel McConaughy
<joelmcconaughy@gmail.com>wrote:

> Try this...
>
> <map:serializer name="xml-omit" mime-type="text/xml"
> src="org.apache.cocoon.serialization.XMLSerializer">
>  <encoding>UTF-8</encoding>
> <omit-xml-declaration>true</omit-xml-declaration>
>  </map:serializer>
>
>
>
> On Wed, Jun 19, 2013 at 7:53 AM, Mansour Al Akeel <
> mansour.alakeel@gmail.com> wrote:
>
>> How do I remove the xml declaration and doctype from xml and html
>> serializes ??
>>
>>
>
>
> --
> Joel McConaughy
> 206-300-4732
> joelmcconaughy@gmail.com
>



-- 
*Thanks with regards
*
*Bhavya Sharma*
        निष्काम

Mime
View raw message