cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Rolappe" <m_rola...@web.de>
Subject AW: xhtml serializers
Date Fri, 07 Mar 2003 20:58:14 GMT
WHICH error do you get?
  -----Ursprüngliche Nachricht-----
  Von: cocoon-users-return-47454-m_rolappe=web.de@xml.apache.org
[mailto:cocoon-users-return-47454-m_rolappe=web.de@xml.apache.org]Im Auftrag
von Nesto
  Gesendet: Freitag, 7. März 2003 17:12
  An: cocoon-users@xml.apache.org
  Betreff: xhtml serializers


  Hi!

  How can I define a set of serializers in the sitemap, with which I can
deliver xhtml basic or xhtml transitional or xhtml strict?
  I want to write in my pipelines somthing like this:
  <map:match>
      <map:generate.../>
      <map:transform.../>
      <map:serializa type="xhtml-Transitional"/>
  </map:match>

  I get an error If I write in the MAIN sitemap this 3 serializers:

  <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html"
name="xhtml-Strict" pool-grow="2" pool-max="64" pool-min="2"
src="org.apache.cocoon.serialization.XMLSerializer">
          <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>

<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-s
ystem>
          <encoding>ISO-8859-1</encoding>
  </map:serializer>

  <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html"
name="xhtml-Transitional" 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>ISO-8859-1</encoding>
  </map:serializer>

  <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html"
name="xhtml-Basic" pool-grow="2" pool-max="64" pool-min="2"
src="org.apache.cocoon.serialization.XMLSerializer">
          <doctype-public>"-//W3C//DTD XHTML Basic 1.0//EN</doctype-public>

<doctype-system>http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd</doctype-
system>
          <encoding>ISO-8859-1</encoding>
  </map:serializer>

  I changed only the name of the serializer and the value of the parameters
(DTD..). Do I have to change something else?
  Please, tell me if this is correct.. maybe the problem is not here!

  Thank you!!!

  Nesto



Mime
View raw message