]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added a parameter to the projectteam2fo.xsl example (for subsequent use
authorGlen Mazza <gmazza@apache.org>
Thu, 5 Feb 2004 00:31:50 +0000 (00:31 +0000)
committerGlen Mazza <gmazza@apache.org>
Thu, 5 Feb 2004 00:31:50 +0000 (00:31 +0000)
in showing a setTransform() call in the samples); also added a needed
library to the examples' build.xml file.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197330 13f79535-47bb-0310-9956-ffa450edef68

examples/embedding/build.xml
examples/embedding/xml/xslt/projectteam2fo.xsl

index b201e50ec5f9a14e6f7dd6a456acd504d6e98bc4..9a259ba71906cda4bbe14fdf7145d81103717ef9 100644 (file)
        <!-- stuff -->
        <path id="project.class.path">
      <fileset dir="${fop.lib.dir}">
-                <include name="avalon-framework*.jar"/>
-                <include name="batik*.jar"/>
-                <include name="xml-apis.jar"/>
-                <include name="xerces*.jar"/>
-                <include name="xalan*.jar"/>
+        <include name="avalon-framework*.jar"/>
+        <include name="batik*.jar"/>
+        <include name="xml-apis.jar"/>
+        <include name="xerces*.jar"/>
+        <include name="xalan*.jar"/>
+        <include name="commons-io*.jar"/>
      </fileset>
      <fileset dir="${fop.lib.dir}/../build">
                 <include name="fop.jar"/>
index ba205fbf8fccfb4543fca559c0d433288280442f..d10ae8551d2885ab3e6c203db9668d1b70d87cf9 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="fo">
   <xsl:output method="xml" version="1.0" omit-xml-declaration="no" indent="yes"/>
+  <xsl:param name="versionParam" select="1.0"/> 
   <!-- ========================= -->
   <!-- root element: projectteam -->
   <!-- ========================= -->
@@ -15,6 +16,8 @@
         <fo:flow flow-name="xsl-region-body">
           <fo:block font-size="16pt" font-weight="bold" space-after="5mm">Project: <xsl:value-of select="projectname"/>
           </fo:block>
+          <fo:block font-size="12pt" space-after="5mm">Version <xsl:value-of select="$versionParam"/>
+          </fo:block>
           <fo:block font-size="10pt">
             <fo:table table-layout="fixed">
               <fo:table-column column-width="4cm"/>