diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2009-10-23 17:27:14 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2009-10-23 17:27:14 +0000 |
commit | 20171ce3b3d9b4dddc24844ef22b4d6e669a4080 (patch) | |
tree | f83143a667fd924175965ee9557ff84d10d6b9e9 /src/documentation/content | |
parent | 662af8ed5acde4c1c9f2b0fd32af8f03528f98ca (diff) | |
parent | 65f82b62234e15a610233d9828433002cade1570 (diff) | |
download | xmlgraphics-fop-20171ce3b3d9b4dddc24844ef22b4d6e669a4080.tar.gz xmlgraphics-fop-20171ce3b3d9b4dddc24844ef22b4d6e669a4080.zip |
Merged changes from Trunk up to revision 829121
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@829138 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content')
-rw-r--r-- | src/documentation/content/xdocs/trunk/anttask.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/documentation/content/xdocs/trunk/anttask.xml b/src/documentation/content/xdocs/trunk/anttask.xml index 9dd508ad1..a543a5623 100644 --- a/src/documentation/content/xdocs/trunk/anttask.xml +++ b/src/documentation/content/xdocs/trunk/anttask.xml @@ -69,6 +69,16 @@ <td>Yes, if no fileset nested element is used</td> </tr> <tr> + <td>xmlfile</td> + <td>XML input file</td> + <td>Yes, if no fofile is specified</td> + </tr> + <tr> + <td>xsltfile</td> + <td>XSLT input file</td> + <td>Yes, if no fofile is specified</td> + </tr> + <tr> <td>outfile</td> <td>Output filename</td> <td>Yes, when fofile is used. (This attribute is not valid for filesets.)</td> @@ -196,6 +206,31 @@ </fop> </target> ]]></source> + <p> + The following example transforms and converts a single XML and XSLT file to an AFP document: + </p> + <source><![CDATA[ +<target name="generate-afp-from-transform" description="Generates a single AFP file from an XSLT stylesheet"> + <fop format="application/x-afp" + xmlfile="c:\working\foDirectory\Document.xml" + xsltfile="c:\working\foDirectory\Document.xslt" + outfile="c:\working\afpDirectory\Document.afp" /> +</target> + ]]></source> + <p> + This example transforms and converts all XML files within an entire directory to PostScript: + </p> + <source><![CDATA[ +<target name="generate-multiple-ps-from-transform" description="Generates multiple PostScript files using an XSLT stylesheet"> + <fop format="application/postscript" + xsltfile="c:\working\foDirectory\Document.xslt" + outdir="${build.dir}" messagelevel="debug"> + <fileset dir="${test.dir}"> + <include name="*.xml"/> + </fileset> + </fop> +</target> + ]]></source> </section> </body> </document> |