Author: vgritsenko Date: Mon Apr 4 11:31:40 2005 New Revision: 160076 URL: http://svn.apache.org/viewcvs?view=rev&rev=160076 Log: restore hello.ps sample
Modified: cocoon/blocks/unsupported/fop/trunk/samples/misc/samples.xml cocoon/blocks/unsupported/fop/trunk/samples/sitemap.xmap Modified: cocoon/blocks/unsupported/fop/trunk/samples/misc/samples.xml URL: http://svn.apache.org/viewcvs/cocoon/blocks/unsupported/fop/trunk/samples/misc/samples.xml?view=diff&r1=160075&r2=160076 ============================================================================== --- cocoon/blocks/unsupported/fop/trunk/samples/misc/samples.xml (original) +++ cocoon/blocks/unsupported/fop/trunk/samples/misc/samples.xml Mon Apr 4 11:31:40 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/blocks/unsupported/fop/trunk/samples/sitemap.xmap URL: http://svn.apache.org/viewcvs/cocoon/blocks/unsupported/fop/trunk/samples/sitemap.xmap?view=diff&r1=160075&r2=160076 ============================================================================== --- cocoon/blocks/unsupported/fop/trunk/samples/sitemap.xmap (original) +++ cocoon/blocks/unsupported/fop/trunk/samples/sitemap.xmap Mon Apr 4 11:31:40 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 -->