cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saulius Grigali√Ľnas <saulius.grigaliu...@gmail.com>
Subject html
Date Mon, 03 Jan 2005 18:22:48 GMT
Hello cocoon users,

      I'm giving up after searching google and cocoon mailing list for four
      days. I need to fetch user input from db and show it as-is (it
      may contain html tags).

      My sitemap looks like this:
      <map:pipeline>
              <map:match pattern="test/">
                     <map:generate type="serverpages" src="share/xsp/news.xml"/>
                     <map:transform type="xslt" src="share/xsl/news.xsl"/>
                     <map:serialize type="xhtml" />
              </map:match>
      </map:pipeline>

      with:
      
      <map:transformer name="xslt" src="org.apache.cocoon.transformation.TraxTransformer"
pool-max="32" pool-min="16" pool-grow="4" />
      
      and
      
      <map:serializer name="xhtml" mime-type="text/html" 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-system>
                     <encoding>UTF-8</encoding>
                     <indent>yes</indent>
                     <omit-xml-declaration>yes</omit-xml-declaration>
      </map:serializer>
      <map:serializer name="xml" src="org.apache.cocoon.serialization.XMLSerializer" mime-type="text/xml"
logger="sitemap.serializer.xml"  pool-grow="4" pool-max="32" pool-min="4">
                     <encoding>UTF-8</encoding>
                     <cdata-section-elements>body</cdata-section-elements>
      </map:serializer>

      news.xml content: http://dev.vzg.lt/news.xsp/source
      news.xml result, after serverpages generation:
      http://dev.vzg.lt/news.xsp/result
      xsl source: http://dev.vzg.lt/news.xsl/source
      the result : http://dev.vzg.lt/test/
      it should look like this : http://dev.vzg.lt/goodone.html

      I've seen a few similar problems in the list, but I couldn't
      find a real working solution. Please, help me if you can, I'm
      starting to lose the hope.

-- 
 Saulius



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


Mime
View raw message