You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2003/05/29 13:00:07 UTC
[WIKI-UPDATE] SimpleTransformations SamplesRefactor Gzip_XML_Serializer Thu May 29 13:00:07 2003
Page: http://wiki.cocoondev.org/Wiki.jsp?page=SimpleTransformations , version: 9 on Thu May 29 10:46:36 2003 by JoergHeinicke
- configured in the example [Sitemap]. If you're starting from a [MinimalSitemapConfiguration]
+ configured in the example [Sitemap]. If you're starting from a [Minimal Sitemap Configuration]
? + +
- * The [Matcher] is responsible for making this pipeline respond to a request for the
+ * The [Matcher] is responsible for making this pipeline respond to a request for the above URL.
? ++++++++++
- above URL.
+ * The [Serializer] is responsible for returning the results back to the user in the HTTP response. Here the pipeline is using the default HTML serializer.
- * The [Serializer] is responsible for returning the results back to the user in the
- HTTP response. Here the pipeline is using the default HTML serializer.
- The {{<map:parameter}} element can be used to pass a fixed value to a
+ The {{<map:parameter/>}} element can be used to pass a fixed value to a
? ++
- You can also use the {{<map:parameter}} element to pass dynamic [Sitemap]
+ You can also use the {{<map:parameter/>}} element to pass dynamic [Sitemap]
? ++
- These parameters are set by [Matchers] and/or [Actions]
+ These parameters are set by [Matchers] and/or [Actions].
? +
Page: http://wiki.cocoondev.org/Wiki.jsp?page=SamplesRefactor , version: 22 on Thu May 29 10:39:42 2003 by JoergHeinicke
- |hello-world/XLS| |?|?|
+ |hello-world/XLS| |yes|yes|moved to POI block samples (jh)
- |static/welcome-svg|welcome pages as SVG|?|?|broken in 2.0 (VG), works for me (JH)
? ^ ^
+ |static/welcome-svg|welcome pages as SVG|yes|yes|broken in 2.0 (VG), works for me in 2.0 too (JH)
? ^^^ ^^^ +++++++++++
Page: http://wiki.cocoondev.org/Wiki.jsp?page=Gzip_XML_Serializer , version: 10 on Thu May 29 10:06:11 2003 by JoergHeinicke
+ {{{
- {{ <map:serializers default="html">\\
? ---- --
+ <map:serializers default="html">
- __<map:serializer name="gzip" mime-type="image/svg+xml"__\\ __src="org.heml.cocoon.serialization.GzipXMLSerializer"/>__\\
+ <map:serializer name="gzip" mime-type="image/svg+xml"
+ src="org.heml.cocoon.serialization.GzipXMLSerializer"/>
- <!-- all the other usual definitions go here -->\\
? --
+ <!-- all the other usual definitions go here -->
- <!-- ... -->\\
? --
+ <!-- ... -->
- </map:serializers>\\
? ---- --
+ </map:serializers>
- }}
+ }}}
? +
- {{
+ {{{
? +
- <!-- the part of the name after the dot indicates what sort of output we want -->\\
? --
+ <!-- the part of the name after the dot indicates what sort of output we want -->
? ++
- <map:select type="parameter">\\
? ------------ --
+ <map:select type="parameter">
- <map:parameter name="parameter-selector-test" value="{../../../2}"/>\\
? ------------ --
+ <map:parameter name="parameter-selector-test" value="{../../../2}"/>
- <map:when test="svg">\\
? ------------ --
+ <map:when test="svg">
- <map:serialize type="svgxml"/>\\
? ------------ --
+ <map:serialize type="svgxml"/>
- </map:when>\\
+ </map:when>
- <map:when test="jpg">\\
? ------------ --
+ <map:when test="jpg">
- <map:serialize type="svg2jpeg"/>\\
? ------------ --
+ <map:serialize type="svg2jpeg"/>
- </map:when>\\
+ </map:when>
- <map:when test="png">\\
? ------------ --
+ <map:when test="png">
- <map:serialize type="svg2png"/>\\
? ------------ --
+ <map:serialize type="svg2png"/>
- </map:when>\\
+ </map:when>
- <map:when test="rss">\\
? ------------ --
+ <map:when test="rss">
- <map:serialize type="xml"/>\\
? ------------ --
+ <map:serialize type="xml"/>
- </map:when>\\
+ </map:when>
- <map:when test="xml">\\
? ------------ --
+ <map:when test="xml">
- <map:serialize type="xml"/>\\
? ------------ --
+ <map:serialize type="xml"/>
- </map:when>\\
+ </map:when>
- <map:when test="svgz">\\
? ------------ --
+ <map:when test="svgz">
- __<map:serialize type="gzip"/>__\\
? -------------- ----
+ <map:serialize type="gzip"/>
- </map:when>\\
- </map:select>\\
+ </map:when>
+ </map:select>
- }}
+ }}}
? +