cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: Serializer
Date Fri, 09 Jul 2004 08:29:04 GMT
   Date: 2004-07-09T01:29:04
   Editor: DavidCrossley <crossley@apache.org>
   Wiki: Cocoon Wiki
   Page: Serializer
   URL: http://wiki.apache.org/cocoon/Serializer

   removed junk attachment

Change Log:

------------------------------------------------------------------------------
@@ -6,25 +6,25 @@
 
 Serializers are configured in the [:Sitemap]
 
-{{{
-<map:serializers default="html">
-<map:serializer name="xml"
-                 mime-type="text/xml"
-                 src="org.apache.cocoon.serialization.XMLSerializer"/>
-<map:serializer name="html"
-                 mime-type="text/html"
-                 src="org.apache.cocoon.serialization.HTMLSerializer"/>
-<map:serializer name="fo2pdf"
-                 mime-type="application/pdf"
-                 src="org.apache.cocoon.serialization.FOPSerializer"/>
-<map:serializer name="vrml"
-                 mime-type="model/vrml"
-                 src="org.apache.cocoon.serialization.TextSerializer"/>
-<map:serializer name="text"
-                 mime-type="text/plain"
-                 src="org.apache.cocoon.serialization.TextSerializer"/>
-...
-</map:serializers>
+{{{
+<map:serializers default="html">
+<map:serializer name="xml"
+                 mime-type="text/xml"
+                 src="org.apache.cocoon.serialization.XMLSerializer"/>
+<map:serializer name="html"
+                 mime-type="text/html"
+                 src="org.apache.cocoon.serialization.HTMLSerializer"/>
+<map:serializer name="fo2pdf"
+                 mime-type="application/pdf"
+                 src="org.apache.cocoon.serialization.FOPSerializer"/>
+<map:serializer name="vrml"
+                 mime-type="model/vrml"
+                 src="org.apache.cocoon.serialization.TextSerializer"/>
+<map:serializer name="text"
+                 mime-type="text/plain"
+                 src="org.apache.cocoon.serialization.TextSerializer"/>
+...
+</map:serializers>
 }}}
 
 The {{{default}}} attribute on the serializers element indicates the default 
@@ -34,12 +34,12 @@
 
 Sample usage:
 
-{{{
-<map:match pattern="hello.html">
-<map:generate src="docs/samples/hello-page.xml"/>
-<map:transform src="stylesheets/page/simple-page2html.xsl"/>
-<map:serialize type="html"/>
-</map:match>
+{{{
+<map:match pattern="hello.html">
+<map:generate src="docs/samples/hello-page.xml"/>
+<map:transform src="stylesheets/page/simple-page2html.xsl"/>
+<map:serialize type="html"/>
+</map:match>
 }}}
 
 === Available Implementations ===
@@ -59,6 +59,4 @@
  *  PCL Serializer -- turns XSL:FO into PCS using [:FOP]
  *  [:XLSSerializer] -- turns gnumeric formatted XML an ExcelGeneration
  *  RTF Serializer -- turns XSL:FO into RTF using jfor (MS Word compatible)
-[[BR]]
-[[BR]]
-'''Attachment:''' attachment:attach.gif [[BR]]
+

Mime
View raw message