You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by gm...@apache.org on 2004/02/05 01:31:50 UTC

cvs commit: xml-fop/examples/embedding/xml/xslt projectteam2fo.xsl

gmazza      2004/02/04 16:31:50

  Modified:    examples/embedding build.xml
               examples/embedding/xml/xslt projectteam2fo.xsl
  Log:
  Added a parameter to the projectteam2fo.xsl example (for subsequent use
  in showing a setTransform() call in the samples); also added a needed
  library to the examples' build.xml file.
  
  Revision  Changes    Path
  1.3       +6 -5      xml-fop/examples/embedding/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-fop/examples/embedding/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml	12 Mar 2003 11:14:53 -0000	1.2
  +++ build.xml	5 Feb 2004 00:31:50 -0000	1.3
  @@ -17,11 +17,12 @@
   	<!-- 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"/>
  
  
  
  1.3       +3 -0      xml-fop/examples/embedding/xml/xslt/projectteam2fo.xsl
  
  Index: projectteam2fo.xsl
  ===================================================================
  RCS file: /home/cvs/xml-fop/examples/embedding/xml/xslt/projectteam2fo.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- projectteam2fo.xsl	12 Mar 2003 11:14:53 -0000	1.2
  +++ projectteam2fo.xsl	5 Feb 2004 00:31:50 -0000	1.3
  @@ -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 -->
     <!-- ========================= -->
  @@ -14,6 +15,8 @@
         <fo:page-sequence master-reference="simpleA4">
           <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">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org