bdelacretaz 2003/05/05 02:30:13
Modified: src/blocks/fop/samples sitemap.xmap src/blocks/fop/samples/misc samples.xml src/blocks/jfor/samples sitemap.xmap src/blocks/jfor/samples/misc samples.xml Log: FOP and jfor 'hello, world' samples reactivated Revision Changes Path 1.5 +8 -1 cocoon-2.1/src/blocks/fop/samples/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/fop/samples/sitemap.xmap,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sitemap.xmap 2 May 2003 14:05:46 -0000 1.4 +++ sitemap.xmap 5 May 2003 09:30:12 -0000 1.5 @@ -24,6 +24,13 @@ <map:serialize/> </map:match> + <!-- hello world --> + <map:match pattern="hello.pdf"> + <map:generate src="context://samples/hello-world/content/hello.xml"/> + <map:transform src="context://samples/hello-world/style/xsl/page2fo.xsl"/> + <map:serialize type="fo2pdf"/> + </map:match> + <!-- xsl-fo document access --> <map:match pattern="**/*.fo.xml"> <map:generate src="{1}/{2}.fo.xml"/> 1.4 +4 -1 cocoon-2.1/src/blocks/fop/samples/misc/samples.xml Index: samples.xml =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/fop/samples/misc/samples.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- samples.xml 2 May 2003 14:05:46 -0000 1.3 +++ samples.xml 5 May 2003 09:30:12 -0000 1.4 @@ -5,7 +5,10 @@ <sample name="Back" href="..">to Cocoon examples main page</sample> </group> - <group name="Minimal FOP example"> + <group name="Simple FOP examples"> + <sample name="Hello, PDF world!" href="hello.pdf"> + The well-known hello.xml document rendered as PDF. + </sample> <sample name="XSL-FO document" href="misc/minimal.fo.xml"> Source document used by FOP in the next example. </sample> 1.2 +7 -0 cocoon-2.1/src/blocks/jfor/samples/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/jfor/samples/sitemap.xmap,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sitemap.xmap 27 Mar 2003 09:28:10 -0000 1.1 +++ sitemap.xmap 5 May 2003 09:30:13 -0000 1.2 @@ -108,6 +108,13 @@ <!-- ========================= jfor ================================ --> + <!-- hello world --> + <map:match pattern="hello.rtf"> + <map:generate src="context://samples/hello-world/content/hello.xml"/> + <map:transform src="context://samples/hello-world/style/xsl/page2fo.xsl"/> + <map:serialize type="fo2rtf"/> + </map:match> + <map:match pattern="*.fo.xml"> <map:generate src="misc/{1}.fo.xml"/> <map:serialize type="xml"/> 1.2 +4 -1 cocoon-2.1/src/blocks/jfor/samples/misc/samples.xml Index: samples.xml =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/jfor/samples/misc/samples.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- samples.xml 27 Mar 2003 09:28:10 -0000 1.1 +++ samples.xml 5 May 2003 09:30:13 -0000 1.2 @@ -5,7 +5,10 @@ <sample name="Back" href="..">to Cocoon examples main page</sample> </group> - <group name="Simple jfor example"> + <group name="Simple jfor examples"> + <sample name="Hello, RTF world!" href="hello.rtf"> + The well-known hello.xml document rendered as RTF. + </sample> <sample name="XSL-FO document" href="minimal.fo.xml"> Source document used by jfor in the next example. </sample>