cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alarcher <antoinelarc...@gmail.com>
Subject Remove <?xml version="1.0" encoding="ISO-8859-1"?> from the output xml
Date Wed, 04 Apr 2007 17:33:54 GMT

Hi,

I try to find a way to remove the first line of the output xml in cocoon.
Here's the xml after cocoon serialization :

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
	<head>
		<meta content="no-cache, private, must-revalidate"
http-equiv="Cache-Control" forua="true"/>
		<meta content="max-age=0" http-equiv="Cache-Control" forua="true"/>
		<meta content="no-cache" http-equiv="Pragma" forua="true"/>
	</head>
	<template>
		<do type="prev" label="Retour">
			<prev/>
		</do>
	</template>
	<card title="wap site" id="body">
		<p>
			Welcome on my wap site
		</p>
	</card>
</wml>


Do you know if there's a way to configure serializer for deleting the first
line ?

Any help will be appreciated.

Thanks !


Antoine Larcher
-- 
View this message in context: http://www.nabble.com/Remove-%3C-xml-version%3D%221.0%22-encoding%3D%22ISO-8859-1%22-%3E-from-the-output-xml-tf3527170.html#a9841736
Sent from the Cocoon - Dev mailing list archive at Nabble.com.


Mime
View raw message