cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ingrid Nagel" <na...@ivi.fhg.de>
Subject <?cocoon-format type="text/html"> in html-file
Date Thu, 22 Apr 2004 12:45:32 GMT
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


Mime
View raw message