You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/07/14 15:46:14 UTC
[Cocoon Wiki] Updated: XfolioOpenOfficeGeneration
Date: 2004-07-14T06:46:14
Editor: FredericGlorieux <fr...@xfolio.org>
Wiki: Cocoon Wiki
Page: XfolioOpenOfficeGeneration
URL: http://wiki.apache.org/cocoon/XfolioOpenOfficeGeneration
some reformating
Change Log:
------------------------------------------------------------------------------
@@ -1,16 +1,23 @@
-= Abstract =
+|XfolioOpenOfficeGeneration|
XfolioOpenOffice generation, one more time.
The issue is discussed in more than one place (sometimes by me)
this is my last cocoon solution to have a flat oo xml file,
with _caching_ !
+----
+(c) 2003, 2004 xfolio.org, ajlsm.com, strabon.org
+Licence : [http://www.gnu.org/copyleft/gpl.html GPL]
+= Authors =
+ *[[Anchor(FG)]] FredericGlorieux [[MailTo(frederic DOT glorieux AT xfolio DOT org)]]
= Status =
-
It works for me, in hope this helps others.
For Cocoon 2.1.5
Could be proposed as a commit in default cocoon ?
+= Changes =
+* 2004-06-30:[#FG] Creation
+
= Usage =
See [xfolio.xmap]
@@ -33,8 +40,7 @@
* cacheable
== Forget ==
- * default src="jar:myzip!myentry.xml" seems to load the file entry in memory,
-but never remember the changes (isnt'it the goal to load a class from a jar one type ?)
+ * default src="jar:myzip!myentry.xml" seems to load the file entry in memory, but never remember the changes (isnt'it the goal to load a class from a jar one type ?)
== Forrest ==
@@ -75,8 +81,7 @@
The attached xsp do quite the same job as the excellent Forrest solution,
with these differences
- * the generator is controlled and know the files on which check changes :
-the sxw, essentially (and also the xsp, for debug)
+ * the generator is controlled and know the files on which check changes : essentially the sxw file (and also the xsp, for debug)
* performances
@@ -86,33 +91,25 @@
* oo.xsp generator cost ~200ms on first call, but is _cached_ (~40 ms on second call)
-
-
+
= References =
- == useful ==
-
* [http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/core/context/forrest.xmap Forrest Open Office]
* [http://wiki.apache.org/cocoon/XSPCachingWithCocoonHEAD XSPCaching]
- * [http://cvs.apache.org/viewcvs.cgi/*checkout*/cocoon-2.1/src/webapp/samples/xsp/xsp/Attic/cacheable.xsp]
+ * [http://cvs.apache.org/viewcvs.cgi/*checkout*/cocoon-2.1/src/webapp/samples/xsp/xsp/Attic/cacheable.xsp cacheable.xsp]
* [http://cvs.apache.org/viewcvs.cgi/*checkout*/cocoon-2.1/src/java/org/apache/cocoon/transformation/XIncludeTransformer.java XIncludeTransformer.java]
* [http://cvs.apache.org/viewcvs.cgi/*checkout*/cocoon-2.1/src/java/org/apache/cocoon/components/source/impl/ZipSourceFactory.html ZipSourceFactory.java]
* [http://cvs.apache.org/viewcvs.cgi/*checkout*/cocoon-2.1/src/java/org/apache/cocoon/generation/FileGenerator.html ZipSourceFactory.java]
-
-
- == bad examples ==
-
* [http://wiki.apache.org/cocoon/JarProtocolExample JarProtocolExample]
* [http://wiki.apache.org/cocoon/OpenOfficeGeneration OpenOfficeGeneration]
-= Rights =
-
-(c) 2003, 2004 xfolio.org, ajlsm.com, strabon.org
-Licence : GPL [http://www.gnu.org/copyleft/gpl.html]
- * created: 2003-07-10
+= See Also =
-'''FIXME: is it possible to update an attachement ?'''
+[[FullSearch()]]
+[[PageList(openoffice)]]
+[[PageList(xspaction)]]
+[[PageList(xfolio)]]
= the code =
@@ -230,7 +227,26 @@
</xsp:logic>
- <office:document xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" xmlns:config="http://openoffice.org/2001/config" office:class="text" office:version="1.0">
+ <office:document
+xmlns:office="http://openoffice.org/2000/office"
+xmlns:style="http://openoffice.org/2000/style"
+xmlns:text="http://openoffice.org/2000/text"
+xmlns:table="http://openoffice.org/2000/table"
+xmlns:draw="http://openoffice.org/2000/drawing"
+xmlns:fo="http://www.w3.org/1999/XSL/Format"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+xmlns:meta="http://openoffice.org/2000/meta"
+xmlns:number="http://openoffice.org/2000/datastyle"
+xmlns:svg="http://www.w3.org/2000/svg"
+xmlns:chart="http://openoffice.org/2000/chart"
+xmlns:dr3d="http://openoffice.org/2000/dr3d"
+xmlns:math="http://www.w3.org/1998/Math/MathML"
+xmlns:form="http://openoffice.org/2000/form"
+xmlns:script="http://openoffice.org/2000/script"
+xmlns:config="http://openoffice.org/2001/config"
+office:class="text"
+office:version="1.0">
<xsp:logic>
<![CDATA[