Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 97398 invoked by uid 500); 13 Mar 2003 13:11:05 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 97376 invoked from network); 13 Mar 2003 13:11:04 -0000 Received: from ten.dimi.uniud.it (158.110.144.132) by daedalus.apache.org with SMTP; 13 Mar 2003 13:11:04 -0000 Received: from wshci4 (ws-hci4 [158.110.147.152]) by ten.dimi.uniud.it (8.9.3/8.9.3) with SMTP id OAA19922; Thu, 13 Mar 2003 14:10:33 +0100 (MET) Message-ID: <018a01c2e962$26b35930$0100a8c0@wshci4> From: "Nesto" To: , Subject: xml declaration Date: Thu, 13 Mar 2003 14:12:07 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0187_01C2E96A.87F96970" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-MailScanner: Found to be clean X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0187_01C2E96A.87F96970 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I'm trying to serialize my xhtml pages with the xhtml serializer, but I = don't want to serialize the xml declaration at the top of the document. This because with Pocket Internet Explorer the declaration is visible at = the top of the page. I tried this: -//W3C//DTD XHTML 1.0 = Transitional//EN = http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ISO-8859-1 yes=20 but the page sent still contains the xml declaration. Why?? And how can I solve my problem?? (If I use the html serializer the declaration disappears, but there are = problems with the content i want to deliver, so I don't want the html = serializer!) Thanks in advance! Nesto ------=_NextPart_000_0187_01C2E96A.87F96970 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
I'm trying to serialize my xhtml pages = with the=20 xhtml serializer, but I don't want to serialize the xml declaration at = the top=20 of the document.
This because with Pocket Internet = Explorer the=20 declaration is visible at the top of the page.
 
I tried this:
<map:serializer=20 logger=3D"sitemap.serializer.xhtml" mime-type=3D"text/html"=20 name=3D"xhtml-Transitional" pool-grow=3D"2" pool-max=3D"64" = pool-min=3D"2"=20 src=3D"org.apache.cocoon.serialization.XMLSerializer">
   =20 <doctype-public>-//W3C//DTD XHTML 1.0=20 Transitional//EN</doctype-public>
   =20 <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional= .dtd</doctype-system>
   =20 <encoding>ISO-8859-1</encoding>
   =20 <omit-xml-declaration>yes</omit-xml-declaration> =
</map:serializer>
 
but the page sent still contains the xml=20 declaration.
 
Why??
And how can I solve my=20 problem??
 
(If I use the html serializer the declaration = disappears,=20 but there are problems with the content i want to deliver, so I don't = want the=20 html serializer!)
 
Thanks in = advance!
 
Nesto
------=_NextPart_000_0187_01C2E96A.87F96970--