+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
- "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
-
-<document>
- <header>
- <title>FO Examples</title>
- </header>
- <body>
- <section>
- <title>Example Documents Using FOP</title>
- <p>
- These examples have been rendered using FOP.
- </p>
- </section>
- <section>
- <title>Images Examples</title>
- <p>
-Embedding images in FO:
- </p>
- <table>
- <caption>Images in FO</caption>
- <tr>
- <th>description</th>
- <th>fo file</th>
- <th>pdf result</th>
- </tr>
- <tr>
- <td>align in larger viewport</td>
- <td><link href="../fo/align.fo">align.fo</link></td>
- <td><link href="../fo/align.fo.pdf">align.fo.pdf</link></td>
- </tr>
- <tr>
- <td>align in smaller viewport</td>
- <td><link href="../fo/align2.fo">align2.fo</link></td>
- <td><link href="../fo/align2.fo.pdf">align2.fo.pdf</link></td>
- </tr>
- <tr>
- <td>scaling image</td>
- <td><link href="../fo/size.fo">size.fo</link></td>
- <td><link href="../fo/size.fo.pdf">size.fo.pdf</link></td>
- </tr>
- </table>
- </section>
- <section>
- <title>Instream Foreign Object Examples</title>
- <p>
-Instream Foreign Object images in FO, there are more on the
-<link href="svg.html">SVG Page</link>:
- </p>
- <table>
- <caption>Embedding instream-foreign-object</caption>
- <tr>
- <th>description</th>
- <th>fo file</th>
- <th>pdf result</th>
- </tr>
- <tr>
- <td>embedding svg in viewport</td>
- <td><link href="../fo/embed.fo">embed.fo</link></td>
- <td><link href="../fo/embed.fo.pdf">embed.fo.pdf</link></td>
- </tr>
- </table>
- </section>
- </body>
-</document>
-
<title>Examples</title>
</header>
<body>
+ <section>
+ <title>Example Documents Using FOP</title>
+ <p>
+ These examples have been rendered using FOP:
+ </p>
<table>
<caption>Generated examples</caption>
<tr>
<td><link href="fo/fonts.fo.pdf">fonts.fo.pdf</link></td>
</tr>
</table>
-
- <section>
- <title>Examples in the distribution</title>
- <p>Examples for the use of XSL-FO can be found in the FOP distribution in
+ <p>Other basic examples on the use of XSL-FO can be found in the FOP distribution in
the subdirectory xml-fop/examples/fo. You can start transformation of all fo files into pdf
files by starting xml-fop/examples/fo/runtests (only source distribution). The resulting test
files can be found in xml-fop/examples/fo/tests
</li>
<li>readme.fo - uses an old version of FOP documentation for a longer example
</li>
-
- <li>Look also into the directory examples/fo/svg. There you find some very extensive SVG examples.
- </li>
- <li>In the directory examples/fo/pagination you find a suite of examples showing the use
- of XSL-FO pagination.
- </li>
</ul>
+ <p>Also, in the directory examples/fo/pagination you will find a suite of examples showing the use
+ of XSL-FO pagination.
+ </p>
<p>
Developers will find the first steps to a test suite for all implemented
formatting objects and properties in xml-fop/test/xml/.
</p>
- </section>
+ </section>
+ <section>
+ <title>Images Examples</title>
+ <p>
+Embedding images in FO:
+ </p>
+ <table>
+ <caption>Images in FO</caption>
+ <tr>
+ <th>description</th>
+ <th>fo file</th>
+ <th>pdf result</th>
+ </tr>
+ <tr>
+ <td>align in larger viewport</td>
+ <td><link href="fo/align.fo">align.fo</link></td>
+ <td><link href="fo/align.fo.pdf">align.fo.pdf</link></td>
+ </tr>
+ <tr>
+ <td>align in smaller viewport</td>
+ <td><link href="fo/align2.fo">align2.fo</link></td>
+ <td><link href="fo/align2.fo.pdf">align2.fo.pdf</link></td>
+ </tr>
+ <tr>
+ <td>scaling image</td>
+ <td><link href="fo/size.fo">size.fo</link></td>
+ <td><link href="fo/size.fo.pdf">size.fo.pdf</link></td>
+ </tr>
+ </table>
+ <p>Look also into the directory examples/fo/svg. There you find some very extensive SVG examples.
+ </p>
+ </section>
+ <section>
+ <title>Instream Foreign Object Examples</title>
+ <p>
+Instream Foreign Object images in FO, there are more on the
+<link href="svg.html">SVG Page</link>:
+ </p>
+ <table>
+ <caption>Embedding instream-foreign-object</caption>
+ <tr>
+ <th>description</th>
+ <th>fo file</th>
+ <th>pdf result</th>
+ </tr>
+ <tr>
+ <td>embedding svg in viewport</td>
+ <td><link href="fo/embed.fo">embed.fo</link></td>
+ <td><link href="fo/embed.fo.pdf">embed.fo.pdf</link></td>
+ </tr>
+ </table>
+ </section>
</body>
</document>
<map:match pattern="fo/*.fo">
<map:read src="content/xdocs/fo/{1}.fo" mime-type="text/xml"/>
</map:match>
+ <map:match pattern="fo/*.ent">
+ <map:read src="content/xdocs/fo/{1}.ent" mime-type="text/plain"/>
+ </map:match>
<map:match pattern="fo/*.fo.pdf">
<map:generate src="content/xdocs/fo/{1}.fo"/>
<map:serialize type="fo2pdf"/>