cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Taffelt" <frank.taff...@interface-business.de>
Subject Re: <?cocoon-format type="text/html"> in html-file
Date Thu, 22 Apr 2004 13:00:23 GMT
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" <nagel@ivi.fhg.de>
To: <users@cocoon.apache.org>
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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message