You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2005/04/04 20:30:01 UTC
svn commit: r160074 - in cocoon/branches/BRANCH_2_1_X:
src/blocks/fop/samples/misc/samples.xml src/blocks/fop/samples/sitemap.xmap
src/webapp/samples/hello-world/samples.xml tools/targets/samples-build.xml
Author: vgritsenko
Date: Mon Apr 4 11:30:00 2005
New Revision: 160074
URL: http://svn.apache.org/viewcvs?view=rev&rev=160074
Log:
fix wml sample, hello postscript sample
Modified:
cocoon/branches/BRANCH_2_1_X/src/blocks/fop/samples/misc/samples.xml
cocoon/branches/BRANCH_2_1_X/src/blocks/fop/samples/sitemap.xmap
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/hello-world/samples.xml
cocoon/branches/BRANCH_2_1_X/tools/targets/samples-build.xml
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/fop/samples/misc/samples.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/fop/samples/misc/samples.xml?view=diff&r1=160073&r2=160074
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/fop/samples/misc/samples.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/fop/samples/misc/samples.xml Mon Apr 4 11:30:00 2005
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<!-- CVS $Id: samples.xml,v 1.9 2004/04/05 12:25:36 antonio Exp $ -->
+<!-- CVS $Id$ -->
<samples xmlns:xlink="http://www.w3.org/1999/xlink" name="FOP Block Samples">
<group name="Back">
@@ -28,6 +28,9 @@
<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="Hello, PS world!" href="hello.ps">
+ The well-known hello.xml document rendered as PS.
</sample>
<sample name="minimal XSL-FO document" href="misc/minimal.fo.xml">
Source document used by FOP in the next example.
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/fop/samples/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/fop/samples/sitemap.xmap?view=diff&r1=160073&r2=160074
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/fop/samples/sitemap.xmap (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/fop/samples/sitemap.xmap Mon Apr 4 11:30:00 2005
@@ -17,7 +17,7 @@
<!--+
| FOP block samples sitemap
- | CVS $Id: sitemap.xmap,v 1.10 2004/03/06 02:26:17 antonio Exp $
+ | CVS $Id$
+-->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
@@ -61,6 +61,12 @@
<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>
+
+ <map:match pattern="hello.ps">
+ <map:generate src="context://samples/hello-world/content/hello.xml"/>
+ <map:transform src="context://samples/hello-world/style/xsl/page2fo.xsl"/>
+ <map:serialize type="fo2ps"/>
</map:match>
<!-- xsl-fo document access -->
Modified: cocoon/branches/BRANCH_2_1_X/src/webapp/samples/hello-world/samples.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/samples/hello-world/samples.xml?view=diff&r1=160073&r2=160074
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/samples/hello-world/samples.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/samples/hello-world/samples.xml Mon Apr 4 11:30:00 2005
@@ -121,6 +121,9 @@
<sample name="PDF" href="../blocks/fop/hello.pdf">
Hello from the fop block in Portable Document Format.
</sample>
+ <sample name="PS" href="../blocks/fop/hello.ps">
+ Hello from the fop block in PostScript format.
+ </sample>
<sample name="PDF" href="../blocks/itext/hello.pdf">
Another hello in Portable Document Format, from the itext block.
</sample>
Modified: cocoon/branches/BRANCH_2_1_X/tools/targets/samples-build.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/tools/targets/samples-build.xml?view=diff&r1=160073&r2=160074
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/tools/targets/samples-build.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/tools/targets/samples-build.xml Mon Apr 4 11:30:00 2005
@@ -45,7 +45,6 @@
<exclude name="**/*.png"/>
<!-- filtering breaks UTF-8 files -->
<exclude name="i18n/**"/>
- <exclude name="hello-world/style/**"/>
</fileset>
</copy>