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: FotoTransformer
Date Mon, 12 Jul 2004 07:57:03 GMT
   Date: 2004-07-12T00:57:03
   Editor: DavidPérez <dperezcar@fcc.es>
   Wiki: Cocoon Wiki
   Page: FotoTransformer
   URL: http://wiki.apache.org/cocoon/FotoTransformer

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -7,24 +7,25 @@
  *  The '''{{{SourceWritingTransformer}}}'''.  Requires you to code the desired output location
in the XML stream.
  *  '''{{{Views}}}'''.  But there are cases where views aren't useful like a sub-pipeline
that is called from other pipeline through the {{{cocoon:}}} protocol, and the sub-pipeline
cannot be invoked directly, because the main one has set some environment like request attributes.
  *  '''{{{LogTransformer}}}'''. Gives a detailed log of each received SAX event, but you
don't have a usable XML file.
+ * '''Profiler'''.   It gives you a lot of features, but slows down your pipeline and increases
memory usage.
 
 === Usage ===
 
 Here is the component declaration:
 
-{{{
-<map:transformer name="foto" src="fcc.ima.cocoon.FotoTransformer"/>
+{{{
+<map:transformer name="foto" src="fcc.ima.cocoon.FotoTransformer"/>
 }}}
 
 And its a sample usage in a pipeline:
 
-{{{
-<map:generate src="my-source.xml"/>
-<map:transform src="my-stylesheet1.xsl"/>
-<map:transform type='foto' src='snapshots/snapshot1.xml'/>
-<map:transform src="my-stylesheet2.xsl"/>
-<map:transform type='foto' src='snapshots/snapshot2.xml'/>
-<map:serialize type='html'/>
+{{{
+<map:generate src="my-source.xml"/>
+<map:transform src="my-stylesheet1.xsl"/>
+<map:transform type='foto' src='snapshots/snapshot1.xml'/>
+<map:transform src="my-stylesheet2.xsl"/>
+<map:transform type='foto' src='snapshots/snapshot2.xml'/>
+<map:serialize type='html'/>
 }}}
 
 As you can see you name the output file through the {{{src}}} attribute.  It supports any
{{{URI}}} scheme supported by {{{Cocoon}}}

Mime
View raw message