Re: Remove XML declaration and html DOCTYPE

Bardo Nelgen <[email protected]>
Newsgroups gmane.text.xml.cocoon.user
Organization BNN Performances
Message-ID <[email protected]>
Hi all,

sorry to pick this up again so late, but is there a solution for Cocoon 
2.2 as well?

Tried both approaches without the desired result, for a piece of 
generated JavaScript…

As the XML serialization did not work as advertised in this thread so 
far, I'm currently going with

> <map:serialize type="text" >

and keep getting

http://www.cityapi.eu/semaworx/MyCompressed.js

Looking for ideas on how to make the Doctype disappear *without* running 
an extra XSLT cycle?

Any hint is appreciated!!

Best,

Bardo


On 19.06.13 18:55, Mansour Al Akeel wrote:
> <map:parameter name="omit-xml-declaration" value="yes"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.