this looks like some "old" cocoon1 stuff. look into start.xsl, you will find something like: <xsl:processing-instruction name="cocoon-format">type="text/html"</xsl:processing-instruction/>
remove this line. hth, Frank ----- Original Message ----- From: "Ingrid Nagel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 2:45 PM Subject: <?cocoon-format type="text/html"> in html-file > Hi, > > I have a problem with PI <?cocoon-format type="text/html"> > appearing in resulting html-file as first line: > > <?cocoon-format type="text/html"> > <html xmlns:xsp="http://www.apache.org/1999/XSP/Core"> > <head> > ... > > Some browsers don't accept it. > > I saw the FAQ hint "Why doesn't xsl:output work?" dealing > with this topic. But the link to "#lostpis" is broken. > > I use Cocoon 2.1.3, Tomcat 4.1.29 and Sun Java SDK 1.4.2_02. > sitemap: > > <map:match pattern="start.xml"> > <map:generate src="start.xml" type="serverpages"/> > <map:transform src="start.xsl"/> > <map:serialize type="html"/> > </map:match> > > Does anyone know how to avoid this first line? > > Thanks > Ingrid > > > --------------------------------------------------------------------- > 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]
