That works a treat. Thanks.
-----Original Message----- From: Doug Chestnut [mailto:[EMAIL PROTECTED] Sent: Wednesday, 14 September 2005 1:01 PM To: user@lenya.apache.org Subject: Re: Extra XML tag Hi Joe, You can redefine your xhtml serializer for your publication in your publications sitemap.xmap file. This works for me in 1.4: <?xml version="1.0" encoding="UTF-8"?> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> <map:components> <map:serializers default="xhtml"> <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html; charset=utf-8" name="xhtml" pool-grow="2" pool-max="64" pool-min="2" src="org.apache.cocoon.serialization.XMLSerializer"> <doctype-public>-//W3C//DTD XHTML 1.0 Transitional//EN</doctype-public> <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</doc type-system> <encoding>UTF-8</encoding> <omit-xml-declaration>yes</omit-xml-declaration> </map:serializer> </map:serializers> </map:components> [...] HTH --Doug Joe Grist wrote: > Hi > > One of my web sites running on Lenya 1.2.4 insists on outputting this: > > <?xml version="1.0" encoding="UTF-8"?> > > At the top of every document. This has the effect of making the page > render as blank in Internet Explorer. > > Anybody seen this / have any idea how to stop it happening? > > > Joe Grist > Anderson Morgan Consulting Pty Ltd > PO Box 141 New Town 7008 > 6278 3387 / 0400 887 081 > joeg at andersonmorgan dot com dot au / www.andersonmorgan.com.au > <http://www.andersonmorgan.com.au/> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]