Perfect.
Thank you a lot, everyone.



On Wed, Jun 19, 2013 at 11:37 AM, Jos Snellings <jos.snelli...@upperware.biz
> wrote:

> Replying to my own:
>
> <map:serialize type="exhtml">
>
> <map:parameter name="omit-xml-declaration" value="yes"/>
> </map:serialize>
>
> That should work if you include cocoon-optional in your dependencies.
>
> Cheers,
> Jos
>
>
>
>
> On Wed, Jun 19, 2013 at 5:29 PM, Jos Snellings <
> jos.snelli...@upperware.biz> wrote:
>
>> Hi Mansour,
>>
>> Try:
>> <map:serialize type="xhtml">
>>       <map:parameter name="omit-xml-declaration" value="yes"/>
>> </map:serialize>
>>
>>
>>
>>
>>
>> On Wed, Jun 19, 2013 at 5:14 PM, Mansour Al Akeel <
>> mansour.alak...@gmail.com> wrote:
>>
>>> sorry, my fault. I didn't tell the version.
>>> I am using C3.0
>>>
>>>
>>>
>>> On Wed, Jun 19, 2013 at 11:05 AM, Bhavya Sharma 
>>> <bhavyasha...@gmail.com>wrote:
>>>
>>>> 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 <
>>>> joelmcconau...@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.alak...@gmail.com> wrote:
>>>>>
>>>>>> How do I remove the xml declaration and doctype from xml and html
>>>>>> serializes ??
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Joel McConaughy
>>>>> 206-300-4732
>>>>> joelmcconau...@gmail.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Thanks with regards
>>>> *
>>>> *Bhavya Sharma*
>>>>         निष्काम
>>>>
>>>
>>>
>>
>>
>> --
>> We should be careful to get out of an experience only the wisdom that is
>> in it - and stay there, lest we be like the cat that sits down on a hot
>> stove-lid.  She will never sit down on a hot stove-lid again - and that
>> is well; but also she will never sit down on a cold one any more.
>>         -- Mark Twain
>>  <http://www.brainyquote.com/quotes/quotes/t/thomashobb118630.html>
>>
>
>
>
> --
> We should be careful to get out of an experience only the wisdom that is
> in it - and stay there, lest we be like the cat that sits down on a hot
> stove-lid.  She will never sit down on a hot stove-lid again - and that
> is well; but also she will never sit down on a cold one any more.
>         -- Mark Twain
>  <http://www.brainyquote.com/quotes/quotes/t/thomashobb118630.html>
>

Reply via email to