Page: http://wiki.cocoondev.org/Wiki.jsp?page=Gzip_XML_Serializer , version: 6
on Wed Mar 19 16:07:38 2003 by BruceRobertson
- # Download {{heml-cocoon-0_5.4-dev-20030221.jar}} or later, found at
[http://heml.mta.ca/releases]. You __don't__ need the massive
{{heml-cocoon.war}} file. This should go in your {{$TOMCAT/cocoon/WEB-INF/lib}}
directory.
? --
+ Download {{heml-cocoon-0_5.4-dev-20030221.jar}} or later, found at
[http://heml.mta.ca/releases]. You __don't__ need the massive
{{heml-cocoon.war}} file. This should go in your {{$TOMCAT/cocoon/WEB-INF/lib}}
directory.
- # Next, you'll need to declare the serializer in the Serializers section of
your sitemap, thus:
? --
+ Next, you'll need to declare the serializer in the Serializers section of
your sitemap, thus:
- <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"/>__\\
? ++ ++ ++
++
- # Finally, use the serializer as you would any other. I map the filename
extension in this way so that we can get png, svg or svgz :
? --
+ Finally, use the serializer as you would any other. I map the filename
extension in this way so that we can get png, svg or svgz :
- <map:serialize type="gzip"/>\\
+ __<map:serialize type="gzip"/>__\\
? ++ ++