diff options
Diffstat (limited to 'docs/xml-docs')
81 files changed, 0 insertions, 5102 deletions
diff --git a/docs/xml-docs/build.xml b/docs/xml-docs/build.xml deleted file mode 100644 index a5baec012..000000000 --- a/docs/xml-docs/build.xml +++ /dev/null @@ -1,55 +0,0 @@ -<?xml version="1.0"?> -<!-- =========================================================================== - - -Build targets -============= - -These are the meaningful targets for this build file: - - - pdf [default] -> creates ./fop.pdf - - clean -> deletes all files produced by this script - ---> -<project default="pdf" basedir="."> - <!-- =================================================================== --> - <!-- Initialization target --> - <!-- =================================================================== --> - <target name="init"> - <tstamp/> - <property name="src.dir" value="./fop"/> - <property name="allfiles.xml" value="fop-doc.xml"/> - <property name="outfile.fo" value="fop.fo"/> - <property name="outfile.pdf" value="fop.pdf"/> - <taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop"/> - <taskdef name="xslt" classname="org.apache.fop.tools.anttasks.Xslt"/> - </target> - <!-- =================================================================== --> - <!-- copies all xml files into one. the infile is a dummy, because the --> - <!-- source files are defined in the stylesheet --> - <!-- =================================================================== --> - <target name="prepare-files" depends="init"> - <xslt infile="fop.xml" xsltfile="xml2xml.xsl" outfile="${allfiles.xml}" smart="yes"/> - </target> - <!-- =================================================================== --> - <!-- Generates the fo file --> - <!-- =================================================================== --> - <target name="fo" depends="prepare-files"> - <xslt infile="${allfiles.xml}" xsltfile="xml2pdf.xsl" outfile="${outfile.fo}" smart="yes"/> - </target> - <!-- =================================================================== --> - <!-- Generates the pdf file --> - <!-- =================================================================== --> - <target name="pdf" depends="fo"> - <fop fofile="${outfile.fo}" outfile="${outfile.pdf}"/> - </target> - <!-- =================================================================== --> - <!-- Clean targets --> - <!-- =================================================================== --> - <target name="clean"> - <delete file="${allfiles.xml}"/> - <delete file="${outfile.fo}"/> - <delete file="${outfile.pdf}"/> - </target> -</project> -<!-- End of file --> diff --git a/docs/xml-docs/data/document.svg b/docs/xml-docs/data/document.svg deleted file mode 100644 index 29586372f..000000000 --- a/docs/xml-docs/data/document.svg +++ /dev/null @@ -1,164 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN" - "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd"> -<svg width="480" height="240"> - <filter id="Drop_Shadow" filterUnits="objectBoundingBox" x="-10%" y="-10%" - width="150%" height="150%"> - <feGaussianBlur in="SourceAlpha" stdDeviation="3" result="blurredAlpha"/> - <feOffset in="blurredAlpha" dx="3" dy="3" result="offsetBlurredAlpha"/> - <feFlood result="flooded" style="flood-color:rgb(0,0,0);flood-opacity:0.65"/> - <feComposite in="flooded" operator="in" in2="offsetBlurredAlpha" - result="coloredShadow"/> - <feComposite in="SourceGraphic" in2="coloredShadow" operator="over"/> - </filter> - <rect x="5" y="3" width="171" height="226" rx="0" ry="0" style="filter:url(#Drop_Shadow);stroke-miterlimit:4;stroke-linejoin:miter;stroke-width:1; - stroke-opacity:1;stroke:rgb(0,0,0);fill-opacity:1;fill:rgb(234,228,214);opacity:1; - "/> - <g style="filter:url(#Drop_Shadow)" transform="matrix(0.5 0 0 0.6 6 10)"> - <text><![CDATA[ -<?xml version="1.0" encoding="utf-8"?> -]]></text> - <text y="10"><![CDATA[ -<root xmlns="http://www.w3.org/1999/XSL/Format"> -]]></text> - <text y="20" x="8"><![CDATA[ - <layout-master-set> -]]></text> - <text y="30" x="16"><![CDATA[ - <simple-page-master master-name="simple" -]]></text> - <text y="40" x="61"><![CDATA[ - page-height="29.7cm" -]]></text> - <text y="50" x="61"><![CDATA[ - page-width="21cm" -]]></text> - <text y="60" x="61"><![CDATA[ - margin-top="1cm" -]]></text> - <text y="70" x="61"><![CDATA[ - margin-bottom="2cm" -]]></text> - <text y="80" x="61"><![CDATA[ - margin-left="2.5cm" -]]></text> - <text y="90" x="61"><![CDATA[ - margin-right="2.5cm"> -]]></text> - <text y="100" x="24"><![CDATA[ - <region-body margin-top="3cm"/> -]]></text> - <text y="110" x="24"><![CDATA[ - <region-before extent="3cm"/> -]]></text> - <text y="120" x="24"><![CDATA[ - <region-after extent="1.5cm"/> -]]></text> - <text y="130" x="16"><![CDATA[ - </simple-page-master> -]]></text> - <text y="140" x="8"><![CDATA[ - </layout-master-set> -]]></text> - <text y="150" x="8"><![CDATA[ - <page-sequence master-name="simple"> -]]></text> - <text y="160" x="24"><![CDATA[ - <flow flow-name="xsl-region-body"> -]]></text> - <text y="170" x="32"><![CDATA[ - <block font-size="18pt" -]]></text> - <text y="180" x="70"><![CDATA[ - font-family="sans-serif" -]]></text> - <text y="190" x="70"><![CDATA[ - line-height="24pt" -]]></text> - <text y="200" x="70"><![CDATA[ - space-after.optimum="15pt" -]]></text> - <text y="210" x="70"><![CDATA[ - background-color="blue" -]]></text> - <text y="220" x="70"><![CDATA[ - color="white" -]]></text> - <text y="230" x="70"><![CDATA[ - text-align="center" -]]></text> - <text y="240" x="70"><![CDATA[ - padding-top="3pt"> -]]></text> - <text y="250" x="40"><![CDATA[ - Fop -]]></text> - <text y="260" x="32"><![CDATA[ - </block> -]]></text> - <text y="270" x="32"><![CDATA[ - <block font-size="12pt" -]]></text> - <text y="280" x="70"><![CDATA[ - font-family="sans-serif" -]]></text> - <text y="290" x="70"><![CDATA[ - line-height="15pt" -]]></text> - <text y="300" x="70"><![CDATA[ - space-after.optimum="3pt" -]]></text> - <text y="310" x="70"><![CDATA[ - text-align="justify"> -]]></text> - <text y="320" x="40"><![CDATA[ - A simple fo document. -]]></text> - <text y="330" x="32"><![CDATA[ - </block> -]]></text> - <text y="340" x="24"><![CDATA[ - </flow> -]]></text> - <text y="350" x="8"><![CDATA[ - </page-sequence> -]]></text> - <text y="360"><![CDATA[ -</root> -]]></text> - </g> - <text x="183" y="106" style="font-family:Arial;font-size:30;stroke-width:1;stroke-opacity:1;stroke:rgb(0,0,0); - fill-opacity:1;fill:rgb(0,0,0);opacity:1;filter:url(#Drop_Shadow)">Render</text> - <g transform="matrix(0.287395 0 0 0.268409 300 5)" style="font-size:12;fill:rgb(0,0,0);stroke:rgb(0,0,0);stroke-width:1"> - <g> - <g style="fill:rgb(255,255,255)"> - <rect width="595" x="0" height="842" y="0" style="filter:url(#Drop_Shadow);stroke:none"/> - </g> - <g> - <rect width="597" x="-1" height="844" y="-1" style="fill:none"/> - <line y2="844" x1="597" x2="597" y1="0" style="fill:none"/> - <line y2="845" x1="598" x2="598" y1="1" style="fill:none"/> - <line y2="844" x1="0" x2="597" y1="844" style="fill:none"/> - <line y2="845" x1="1" x2="598" y1="845" style="fill:none"/> - <rect x="71" y="113" width="453" height="27" style="fill:none;stroke:rgb(0,0,255)"/> - <rect x="71" y="113" width="453" height="27" style="fill:rgb(0,0,255);stroke:none"/> - </g> - <g style="fill:rgb(255,255,255);font-size:18;font-family:sans-serif;stroke:rgb(255,255,255); - "> - <text x="272" y="133" style="stroke:none">Fop</text> - <text x="71" y="166" style="fill:rgb(0,0,0);stroke:none">A</text> - <text x="94" y="166" style="fill:rgb(0,0,0);stroke:none">simple</text> - <text x="158" y="166" style="fill:rgb(0,0,0);stroke:none">fo</text> - <text x="185" y="166" style="fill:rgb(0,0,0);stroke:none">document.</text> - </g> - </g> - </g> - <rect x="186" y="124" width="81" height="14" rx="0" ry="0" style="stroke-miterlimit:4;stroke-linejoin:miter;stroke-width:1;stroke-opacity:0;stroke:rgb(45,59,143); - fill-opacity:1;fill:rgb(238,179,36);opacity:1"/> - <path d="M289.5 131 L263 118 L263 144 z" style="stroke-miterlimit:4;stroke-linejoin:miter;stroke-width:1;stroke-opacity:0;stroke:rgb(0,0,0); - fill-opacity:1;fill:rgb(238,179,36);opacity:1"/> - -<use x="455" y="215" width="20" height="20" xlink:href="logo.svg#FOP_Mark"/> - -</svg> - diff --git a/docs/xml-docs/data/layout.svgz b/docs/xml-docs/data/layout.svgz Binary files differdeleted file mode 100644 index 5d6567116..000000000 --- a/docs/xml-docs/data/layout.svgz +++ /dev/null diff --git a/docs/xml-docs/data/logo.svg b/docs/xml-docs/data/logo.svg deleted file mode 100644 index 66797943a..000000000 --- a/docs/xml-docs/data/logo.svg +++ /dev/null @@ -1,81 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN" - "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd"> -<svg width="250" height="250"> -<defs> - -<text id="asf"> -Apache Software Foundation Apache Software Foundation -Apache Software Foundation Apache Software Foundation -Apache Software Foundation Apache Software Foundation -Apache Software Foundation Apache Software Foundation -Apache Software Foundation Apache Software Foundation -Apache Software Foundation -</text> - -<g id="f"> -<path style="stroke:rgb(20,20,20);stroke-width:8" id="square1" d="M0 0h140v130h-140z"/> -<text font-weight="bold" font-size="6" style="text-anchor:start"> -<textPath style="stroke:rgb(40,40,40)" xlink:href="#square1"> -<tspan dy="3"> -<tref xlink:href="#asf"/> -</tspan> -</textPath> -</text> -<g style="stroke:black;stroke-width:8"> -<line x1="5" y1="20" x2="125" y2="20"/> -<line x1="5" y1="40" x2="40" y2="40"/> -<line x1="5" y1="60" x2="100" y2="60"/> -<line x1="5" y1="85" x2="40" y2="85"/> -<line x1="5" y1="110" x2="40" y2="110"/> -</g> -</g> - -<g id="o"> -<path style="stroke:rgb(20,20,20);stroke-width:8" id="square2" d="M0 0h130v130h-130z"/> -<text font-weight="bold" font-size="6" style="text-anchor:start"> -<textPath style="stroke:rgb(40,40,40)" xlink:href="#square2"> -<tspan dy="3"> -<tref xlink:href="#asf"/> -</tspan> -</textPath> -</text> -<g style="stroke:black;stroke-width:8"> -<line x1="50" y1="30" x2="80" y2="30"/> -<line x1="30" y1="45" x2="100" y2="45"/> -<line x1="20" y1="60" x2="110" y2="60"/> -<line x1="30" y1="80" x2="100" y2="80"/> -<line x1="50" y1="100" x2="80" y2="100"/> -</g> -</g> - -<g id="p"> -<path style="stroke:rgb(20,20,20);stroke-width:8" id="square3" d="M0 0h130v130h-130z"/> -<text font-weight="bold" font-size="6" style="text-anchor:start"> -<textPath style="stroke:rgb(40,40,40)" xlink:href="#square3"> -<tspan dy="3"> -<tref xlink:href="#asf"/> -</tspan> -</textPath> -</text> -<g style="stroke:black;stroke-width:8"> -<line x1="5" y1="20" x2="110" y2="20"/> -<line x1="5" y1="40" x2="40" y2="40"/> -<line x1="90" y1="40" x2="120" y2="40"/> -<line x1="5" y1="60" x2="105" y2="60"/> -<line x1="5" y1="85" x2="40" y2="85"/> -<line x1="5" y1="110" x2="40" y2="110"/> -</g> -</g> - -<svg viewBox="0 0 230 230" id="FOP_Mark"> -<use x="90" y="41" style="fill:rgb(100,150,200);opacity:0.6" xlink:href="#p"/> -<use x="40" y="96" style="fill:rgb(120,228,120);opacity:0.6" xlink:href="#o"/> -<use x="5" y="5" style="fill:rgb(200,100,100);opacity:0.6" xlink:href="#f"/> -</svg> - -</defs> - -<use xlink:href="#FOP_Mark"/> -</svg> - diff --git a/docs/xml-docs/data/title.svg b/docs/xml-docs/data/title.svg deleted file mode 100644 index 509dd837f..000000000 --- a/docs/xml-docs/data/title.svg +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN" - "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd"> -<svg width="300" height="100" viewBox="0 0 340 150"> - <filter id="grey_bevel_shadow" filterUnits="objectBoundingBox" x="-10%" - y="-10%" width="150%" height="150%"> - <feGaussianBlur result="blurredAlpha" in="SourceAlpha" stdDeviation="3"/> - <feOffset result="offsetBlurredAlpha" in="blurredAlpha" dx="2" dy="1"/> - <feDiffuseLighting result="bumpMapDiffuse" in="blurredAlpha" surfaceScale="5" - diffuseConstant="0.5" style=" - lighting-color:rgb(255,255,255)"> - <feDistantLight azimuth="135" elevation="60"/> - </feDiffuseLighting> - <feComposite result="litPaint" in="bumpMapDiffuse" operator="arithmetic" k1="1" - k2="0" k3="0" k4="0" in2="SourceGraphic"/> - <feSpecularLighting result="bumpMapSpecular" in="blurredAlpha" surfaceScale="5" - specularConstant="0.5" specularExponent="10" style=" - lighting-color:rgb(255,255,255)"> - <feDistantLight azimuth="135" elevation="60"/> - </feSpecularLighting> - <feComposite result="litPaint" in="litPaint" operator="arithmetic" k1="0" - k2="1" k3="1" k4="0" in2="bumpMapSpecular"/> - <feComposite result="litPaint" in="litPaint" operator="in" in2="SourceAlpha"/> - <feMerge> - <feMergeNode in="offsetBlurredAlpha"/> - <feMergeNode in="litPaint"/> - </feMerge> - </filter> -<use style="opacity:0.6" x="100" y="5" width="150" height="145" xlink:href="logo.svg#FOP_Mark"/> - <g transform="translate(0,10)"> - <path style="stroke-width:1;stroke-opacity:1;stroke:rgb(0,0,0);fill-opacity:1;fill:rgb(0,0,0); - opacity:1;filter:url(#grey_bevel_shadow)" - d="M35.87 66.07 L35.87 94.553 Q35.87 111.526 37.6948 114.383 Q39.5197 117.24 46.9811 117.24 L52.87 117.24 L52.87 122.51 Q37.0972 122 27.718 122 Q18.2538 122 3.23 122.51 L3.23 117.24 L9.86531 117.24 Q16.9947 117.24 18.6123 114.508 Q20.23 111.776 20.23 94.5609 L20.23 32.0673 Q20.23 15.2639 18.4477 12.532 Q16.6653 9.8 9.20125 9.8 L3.23 9.8 L3.23 4.53 Q16.9894 5.04 28.0128 5.04 L75.6686 4.19 Q83.13 4.19 89.76 4.87 Q87.117 13.8295 86.87 30.0991 L81.43 30.0991 Q80.9359 21.4663 79.4484 14.6583 Q68.1408 11.67 56.5861 11.67 Q46.5162 11.67 36.8608 12.7484 Q35.87 23.5461 35.87 32.3489 L35.87 58.76 Q40.8053 58.93 45.5759 58.93 Q57.9142 58.93 67.2111 58.2659 Q70.3348 58.0986 71.4465 56.894 Q72.5581 55.6894 73.2966 50.4539 L74.12 44.14 L79.39 44.14 Q78.795 59.3311 78.795 63.6475 L78.88 83.24 L73.44 83.24 L73.44 76.8517 Q73.44 69.2177 70.55 67.5588 Q67.66 65.9 48.4208 65.9 C48.4208 65.9 43.1375 65.9 35.87 66.07 z"/> - <path style="stroke-width:1;stroke-opacity:1;stroke:rgb(0,0,0);fill-opacity:1;fill:rgb(0,0,0); - opacity:1;filter:url(#grey_bevel_shadow)" - d="M98.43 63.4775 Q98.43 36.1819 116.022 19.5059 Q133.615 2.83 162.908 2.83 Q191.619 2.83 207.925 18.3027 Q224.23 33.7753 224.23 59.4134 Q224.23 87.0411 205.311 105.626 Q186.392 124.21 157.595 124.21 Q139.589 124.21 126.561 116.909 Q113.533 109.609 105.982 95.5863 C105.982 95.5863 98.43 81.5639 98.43 63.4775 zM115.26 56.6748 Q115.26 75.4253 121.692 89.3202 Q128.124 103.215 138.914 110.143 Q149.704 117.07 163.564 117.07 Q176.428 117.07 186.054 111.18 Q195.681 105.29 201.2 93.5927 Q206.72 81.8959 206.72 65.1377 Q206.72 47.5506 200.62 35.0649 Q194.52 22.5792 183.896 16.2746 Q173.272 9.97 158.748 9.97 Q145.47 9.97 135.842 15.5282 Q126.214 21.0864 120.737 31.8296 C120.737 31.8296 115.26 42.5728 115.26 56.6748 z"/> - <path style="stroke-width:1;stroke-opacity:1;stroke:rgb(0,0,0);fill-opacity:1;fill:rgb(0,0,0); - opacity:1;filter:url(#grey_bevel_shadow)" - d="M265.102 13.7127 Q264.52 25.6286 264.52 39.117 L264.52 86.3717 Q264.52 111.282 266.013 114.261 Q267.506 117.24 275.798 117.24 L281.52 117.24 L281.52 122.51 Q266.828 122 258.36 122 Q250.888 122 231.88 122.51 L231.88 117.24 L239.344 117.24 Q244.569 117.24 246.06 115.956 Q247.552 114.671 247.968 110.738 Q248.383 106.804 248.88 86.6719 L248.88 42.4373 L248.63 25.2912 Q248.466 14.6052 246.351 12.2026 Q244.237 9.8 236.026 9.8 L231.88 9.8 L231.88 4.53 Q242.258 4.87 258.201 4.87 Q267.585 4.87 279.042 4.36 Q286.599 4.02 290.501 4.02 Q310.595 4.02 319.73 11.3433 Q328.78 18.6639 328.78 31.1456 Q328.78 40.2141 323.555 48.5759 Q318.33 56.9378 308.752 62.0139 Q299.173 67.09 288.309 67.09 Q283.332 67.09 275.868 65.5202 L274.21 59.27 Q281.507 61.14 286.397 61.14 Q297.84 61.14 304.555 54.2178 Q311.27 47.2956 311.27 35.2734 Q311.27 23.6656 304.087 17.1578 Q296.905 10.65 282.705 10.65 C282.705 10.65 274.651 10.65 265.102 13.7127 z"/> - </g> - -</svg> - diff --git a/docs/xml-docs/dtd/changes-v10.dtd b/docs/xml-docs/dtd/changes-v10.dtd deleted file mode 100644 index 42ae93e09..000000000 --- a/docs/xml-docs/dtd/changes-v10.dtd +++ /dev/null @@ -1,91 +0,0 @@ -<!-- =================================================================== - - Apache Changes DTD (Version 1.0) - -PURPOSE: - This DTD was developed to create a simple yet powerful document - type for software development changes for use with the Apache projects. - It is an XML-compliant DTD and it's maintained by the Apache XML - project. - -TYPICAL INVOCATION: - - <!DOCTYPE document PUBLIC - "-//APACHE//DTD Changes Vx.yz//EN" - "http://xml.apache.org/DTD/changes-vxyz.dtd"> - - where - - x := major version - y := minor version - z := status identifier (optional) - -NOTES: - It is important, expecially in open developped software projects, to keep - track of software changes both to give users indications of bugs that might - have been resolved, as well, and not less important, to provide credits - for the support given to the project. It is considered vital to provide - adequate payback using recognition and credits to let users and developers - feel part of the community, thus increasing development power. - -AUTHORS: - Stefano Mazzocchi <stefano@apache.org> - -FIXME: - -CHANGE HISTORY: - 19991129 Initial version. (SM) - 20000316 Added bugfixing attribute. (SM) - -COPYRIGHT: - Copyright (c) @year@ The Apache Software Foundation. - - Permission to copy in any form is granted provided this notice is - included in all copies. Permission to redistribute is granted - provided this file is distributed untouched in all its parts and - included files. - -==================================================================== --> - -<!-- =============================================================== --> -<!-- Extend the Documentation DTD --> -<!-- =============================================================== --> - -<!-- FIXME (SM): this is hardcoding. Find a better way of doing this - possibly using public identifiers --> -<!ENTITY % document-dtd SYSTEM "document-v10.dtd"> -%document-dtd; - -<!-- =============================================================== --> -<!-- Common entities --> -<!-- =============================================================== --> - -<!ENTITY % types "add|remove|update|fix"> - -<!-- =============================================================== --> -<!-- Document Type Definition --> -<!-- =============================================================== --> - -<!ELEMENT changes (devs, release*)> -<!ATTLIST changes %common.att; - %title.att;> - - <!ELEMENT devs (person+)> - <!ATTLIST devs %common.att;> - - <!ELEMENT release (action+)> - <!ATTLIST release %common.att; - version CDATA #REQUIRED - date CDATA #REQUIRED> - - <!ELEMENT action (%content.mix;)*> - <!ATTLIST action %common.att; - dev IDREF #REQUIRED - type (%types;) #IMPLIED - due-to CDATA #IMPLIED - due-to-email CDATA #IMPLIED - fixes-bug CDATA #IMPLIED> - -<!-- =============================================================== --> -<!-- End of DTD --> -<!-- =============================================================== --> diff --git a/docs/xml-docs/dtd/characters.ent b/docs/xml-docs/dtd/characters.ent deleted file mode 100644 index 8ff50248f..000000000 --- a/docs/xml-docs/dtd/characters.ent +++ /dev/null @@ -1,290 +0,0 @@ -<!-- - Portions (C) International Organization for Standardization 1986 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. ---> - -<!-- - Character entity set. ---> - -<!-- Latin A --> -<!ENTITY nbsp " "> <!-- U+00A0 ISOnum - no-break space = non-breaking space --> -<!ENTITY iexcl "¡"> <!-- U+00A1 ISOnum - inverted exclamation mark --> -<!ENTITY cent "¢"> <!-- U+00A2 ISOnum - cent sign --> -<!ENTITY pound "£"> <!-- U+00A3 ISOnum - pound sign --> -<!ENTITY curren "¤"> <!-- U+00A4 ISOnum - currency sign --> -<!ENTITY yen "¥"> <!-- U+00A5 ISOnum - yen sign = yuan sign --> -<!ENTITY brvbar "¦"> <!-- U+00A6 ISOnum - broken bar = broken vertical bar --> -<!ENTITY sect "§"> <!-- U+00A7 ISOnum - section sign --> -<!ENTITY uml "¨"> <!-- U+00A8 ISOdia - diaeresis = spacing diaeresis --> -<!ENTITY copy "©"> <!-- U+00A9 ISOnum - copyright sign --> -<!ENTITY ordf "ª"> <!-- U+00AA ISOnum - feminine ordinal indicator --> -<!ENTITY laquo "«"> <!-- U+00AB ISOnum - left-pointing double angle quotation mark = left pointing guillemet --> -<!ENTITY not "¬"> <!-- U+00AC ISOnum - not sign --> -<!ENTITY shy "­"> <!-- U+00AD ISOnum - soft hyphen = discretionary hyphen --> -<!ENTITY reg "®"> <!-- U+00AE ISOnum - registered sign = registered trade mark sign --> -<!ENTITY macr "¯"> <!-- U+00AF ISOdia - macron = spacing macron = overline = APL overbar --> -<!ENTITY deg "°"> <!-- U+00B0 ISOnum - degree sign --> -<!ENTITY plusmn "±"> <!-- U+00B1 ISOnum - plus-minus sign = plus-or-minus sign --> -<!ENTITY sup2 "²"> <!-- U+00B2 ISOnum - superscript two = superscript digit two = squared --> -<!ENTITY sup3 "³"> <!-- U+00B3 ISOnum - superscript three = superscript digit three = cubed --> -<!ENTITY acute "´"> <!-- U+00B4 ISOdia - acute accent = spacing acute --> -<!ENTITY micro "µ"> <!-- U+00B5 ISOnum - micro sign --> -<!ENTITY para "¶"> <!-- U+00B6 ISOnum - pilcrow sign = paragraph sign --> -<!ENTITY middot "·"> <!-- U+00B7 ISOnum - middle dot = Georgian comma = Greek middle dot --> -<!ENTITY cedil "¸"> <!-- U+00B8 ISOdia - cedilla = spacing cedilla --> -<!ENTITY sup1 "¹"> <!-- U+00B9 ISOnum - superscript one = superscript digit one --> -<!ENTITY ordm "º"> <!-- U+00BA ISOnum - masculine ordinal indicator --> -<!ENTITY raquo "»"> <!-- U+00BB ISOnum - right-pointing double angle quotation mark = right pointing guillemet --> -<!ENTITY frac14 "¼"> <!-- U+00BC ISOnum - vulgar fraction one quarter = fraction one quarter --> -<!ENTITY frac12 "½"> <!-- U+00BD ISOnum - vulgar fraction one half = fraction one half --> -<!ENTITY frac34 "¾"> <!-- U+00BE ISOnum - vulgar fraction three quarters = fraction three quarters --> -<!ENTITY iquest "¿"> <!-- U+00BF ISOnum - inverted question mark = turned question mark --> -<!ENTITY Agrave "À"> <!-- U+00C0 ISOlat1 - latin capital letter A with grave = latin capital letter A grave --> -<!ENTITY Aacute "Á"> <!-- U+00C1 ISOlat1 - latin capital letter A with acute --> -<!ENTITY Acirc "Â"> <!-- U+00C2 ISOlat1 - latin capital letter A with circumflex --> -<!ENTITY Atilde "Ã"> <!-- U+00C3 ISOlat1 - latin capital letter A with tilde --> -<!ENTITY Auml "Ä"> <!-- U+00C4 ISOlat1 - latin capital letter A with diaeresis --> -<!ENTITY Aring "Å"> <!-- U+00C5 ISOlat1 - latin capital letter A with ring above = latin capital letter A ring --> -<!ENTITY AElig "Æ"> <!-- U+00C6 ISOlat1 - latin capital letter AE = latin capital ligature AE --> -<!ENTITY Ccedil "Ç"> <!-- U+00C7 ISOlat1 - latin capital letter C with cedilla --> -<!ENTITY Egrave "È"> <!-- U+00C8 ISOlat1 - latin capital letter E with grave --> -<!ENTITY Eacute "É"> <!-- U+00C9 ISOlat1 - latin capital letter E with acute --> -<!ENTITY Ecirc "Ê"> <!-- U+00CA ISOlat1 - latin capital letter E with circumflex --> -<!ENTITY Euml "Ë"> <!-- U+00CB ISOlat1 - latin capital letter E with diaeresis --> -<!ENTITY Igrave "Ì"> <!-- U+00CC ISOlat1 - latin capital letter I with grave --> -<!ENTITY Iacute "Í"> <!-- U+00CD ISOlat1 - latin capital letter I with acute --> -<!ENTITY Icirc "Î"> <!-- U+00CE ISOlat1 - latin capital letter I with circumflex --> -<!ENTITY Iuml "Ï"> <!-- U+00CF ISOlat1 - latin capital letter I with diaeresis --> -<!ENTITY ETH "Ð"> <!-- U+00D0 ISOlat1 - latin capital letter ETH --> -<!ENTITY Ntilde "Ñ"> <!-- U+00D1 ISOlat1 - latin capital letter N with tilde --> -<!ENTITY Ograve "Ò"> <!-- U+00D2 ISOlat1 - latin capital letter O with grave --> -<!ENTITY Oacute "Ó"> <!-- U+00D3 ISOlat1 - latin capital letter O with acute --> -<!ENTITY Ocirc "Ô"> <!-- U+00D4 ISOlat1 - latin capital letter O with circumflex --> -<!ENTITY Otilde "Õ"> <!-- U+00D5 ISOlat1 - latin capital letter O with tilde --> -<!ENTITY Ouml "Ö"> <!-- U+00D6 ISOlat1 - latin capital letter O with diaeresis --> -<!ENTITY times "×"> <!-- U+00D7 ISOnum - multiplication sign --> -<!ENTITY Oslash "Ø"> <!-- U+00D8 ISOlat1 - latin capital letter O with stroke = latin capital letter O slash --> -<!ENTITY Ugrave "Ù"> <!-- U+00D9 ISOlat1 - latin capital letter U with grave --> -<!ENTITY Uacute "Ú"> <!-- U+00DA ISOlat1 - latin capital letter U with acute --> -<!ENTITY Ucirc "Û"> <!-- U+00DB ISOlat1 - latin capital letter U with circumflex --> -<!ENTITY Uuml "Ü"> <!-- U+00DC ISOlat1 - latin capital letter U with diaeresis --> -<!ENTITY Yacute "Ý"> <!-- U+00DD ISOlat1 - latin capital letter Y with acute --> -<!ENTITY THORN "Þ"> <!-- U+00DE ISOlat1 - latin capital letter THORN --> -<!ENTITY szlig "ß"> <!-- U+00DF ISOlat1 - latin small letter sharp s = ess-zed --> -<!ENTITY agrave "à"> <!-- U+00E0 ISOlat1 - latin small letter a with grave = latin small letter a grave --> -<!ENTITY aacute "á"> <!-- U+00E1 ISOlat1 - latin small letter a with acute --> -<!ENTITY acirc "â"> <!-- U+00E2 ISOlat1 - latin small letter a with circumflex --> -<!ENTITY atilde "ã"> <!-- U+00E3 ISOlat1 - latin small letter a with tilde --> -<!ENTITY auml "ä"> <!-- U+00E4 ISOlat1 - latin small letter a with diaeresis --> -<!ENTITY aring "å"> <!-- U+00E5 ISOlat1 - latin small letter a with ring above = latin small letter a ring --> -<!ENTITY aelig "æ"> <!-- U+00E6 ISOlat1 - latin small letter ae = latin small ligature ae --> -<!ENTITY ccedil "ç"> <!-- U+00E7 ISOlat1 - latin small letter c with cedilla --> -<!ENTITY egrave "è"> <!-- U+00E8 ISOlat1 - latin small letter e with grave --> -<!ENTITY eacute "é"> <!-- U+00E9 ISOlat1 - latin small letter e with acute --> -<!ENTITY ecirc "ê"> <!-- U+00EA ISOlat1 - latin small letter e with circumflex --> -<!ENTITY euml "ë"> <!-- U+00EB ISOlat1 - latin small letter e with diaeresis --> -<!ENTITY igrave "ì"> <!-- U+00EC ISOlat1 - latin small letter i with grave --> -<!ENTITY iacute "í"> <!-- U+00ED ISOlat1 - latin small letter i with acute --> -<!ENTITY icirc "î"> <!-- U+00EE ISOlat1 - latin small letter i with circumflex --> -<!ENTITY iuml "ï"> <!-- U+00EF ISOlat1 - latin small letter i with diaeresis --> -<!ENTITY eth "ð"> <!-- U+00F0 ISOlat1 - latin small letter eth --> -<!ENTITY ntilde "ñ"> <!-- U+00F1 ISOlat1 - latin small letter n with tilde --> -<!ENTITY ograve "ò"> <!-- U+00F2 ISOlat1 - latin small letter o with grave --> -<!ENTITY oacute "ó"> <!-- U+00F3 ISOlat1 - latin small letter o with acute --> -<!ENTITY ocirc "ô"> <!-- U+00F4 ISOlat1 - latin small letter o with circumflex --> -<!ENTITY otilde "õ"> <!-- U+00F5 ISOlat1 - latin small letter o with tilde --> -<!ENTITY ouml "ö"> <!-- U+00F6 ISOlat1 - latin small letter o with diaeresis --> -<!ENTITY divide "÷"> <!-- U+00F7 ISOnum - division sign --> -<!ENTITY oslash "ø"> <!-- U+00F8 ISOlat1 - latin small letter o with stroke = latin small letter o slash --> -<!ENTITY ugrave "ù"> <!-- U+00F9 ISOlat1 - latin small letter u with grave --> -<!ENTITY uacute "ú"> <!-- U+00FA ISOlat1 - latin small letter u with acute --> -<!ENTITY ucirc "û"> <!-- U+00FB ISOlat1 - latin small letter u with circumflex --> -<!ENTITY uuml "ü"> <!-- U+00FC ISOlat1 - latin small letter u with diaeresis --> -<!ENTITY yacute "ý"> <!-- U+00FD ISOlat1 - latin small letter y with acute --> -<!ENTITY thorn "þ"> <!-- U+00FE ISOlat1 - latin small letter thorn --> -<!ENTITY yuml "ÿ"> <!-- U+00FF ISOlat1 - latin small letter y with diaeresis --> - -<!-- Latin Extended-A --> -<!ENTITY OElig "Œ"> <!-- U+0152 ISOlat2 - latin capital ligature OE --> -<!ENTITY oelig "œ"> <!-- U+0153 ISOlat2 - latin small ligature oe --> - -<!-- ligature is a misnomer, this is a separate character in some languages --> -<!ENTITY Scaron "Š"> <!-- U+0160 ISOlat2 - latin capital letter S with caron --> -<!ENTITY scaron "š"> <!-- U+0161 ISOlat2 - latin small letter s with caron --> -<!ENTITY Yuml "Ÿ"> <!-- U+0178 ISOlat2 - latin capital letter Y with diaeresis --> - -<!-- Spacing Modifier Letters --> -<!ENTITY circ "ˆ"> <!-- U+02C6 ISOpub - modifier letter circumflex accent --> -<!ENTITY tilde "˜"> <!-- U+02DC ISOdia - small tilde --> - -<!-- General Punctuation --> -<!ENTITY ensp " "> <!-- U+2002 ISOpub - en space --> -<!ENTITY emsp " "> <!-- U+2003 ISOpub - em space --> -<!ENTITY thinsp " "> <!-- U+2009 ISOpub - thin space --> -<!ENTITY zwnj "‌"> <!-- U+200C RFC 2070 - zero width non-joiner --> -<!ENTITY zwj "‍"> <!-- U+200D RFC 2070 - zero width joiner --> -<!ENTITY lrm "‎"> <!-- U+200E RFC 2070 - left-to-right mark --> -<!ENTITY rlm "‏"> <!-- U+200F RFC 2070 - right-to-left mark --> -<!ENTITY ndash "–"> <!-- U+2013 ISOpub - en dash --> -<!ENTITY mdash "—"> <!-- U+2014 ISOpub - em dash --> -<!ENTITY lsquo "‘"> <!-- U+2018 ISOnum - left single quotation mark --> -<!ENTITY rsquo "’"> <!-- U+2019 ISOnum - right single quotation mark --> -<!ENTITY sbquo "‚"> <!-- U+201A NEW - single low-9 quotation mark --> -<!ENTITY ldquo "“"> <!-- U+201C ISOnum - left double quotation mark --> -<!ENTITY rdquo "”"> <!-- U+201D ISOnum - right double quotation mark, --> -<!ENTITY bdquo "„"> <!-- U+201E NEW - double low-9 quotation mark --> -<!ENTITY dagger "†"> <!-- U+2020 ISOpub - dagger --> -<!ENTITY Dagger "‡"> <!-- U+2021 ISOpub - double dagger --> -<!ENTITY permil "‰"> <!-- U+2030 ISOtech - per mille sign --> -<!ENTITY lsaquo "‹"> <!-- U+2039 ISO prop. - single left-pointing angle quotation mark --> - -<!-- lsaquo is proposed but not yet ISO standardized --> -<!ENTITY rsaquo "›"> <!-- U+203A ISO prop. - single right-pointing angle quotation mark --> - -<!-- rsaquo is proposed but not yet ISO standardized --> -<!ENTITY euro "€"> <!-- U+20AC NEW - euro sign --> - -<!-- Latin Extended-B --> -<!ENTITY fnof "ƒ"> <!-- U+0192 ISOtech - latin small f with hook = function = florin --> - -<!-- Greek --> -<!ENTITY Alpha "Α"> <!-- U+0391 - greek capital letter alpha --> -<!ENTITY Beta "Β"> <!-- U+0392 - greek capital letter beta --> -<!ENTITY Gamma "Γ"> <!-- U+0393 ISOgrk3 - greek capital letter gamma --> -<!ENTITY Delta "Δ"> <!-- U+0394 ISOgrk3 - greek capital letter delta --> -<!ENTITY Epsilon "Ε"> <!-- U+0395 - greek capital letter epsilon --> -<!ENTITY Zeta "Ζ"> <!-- U+0396 - greek capital letter zeta --> -<!ENTITY Eta "Η"> <!-- U+0397 - greek capital letter eta --> -<!ENTITY Theta "Θ"> <!-- U+0398 ISOgrk3 - greek capital letter theta --> -<!ENTITY Iota "Ι"> <!-- U+0399 - greek capital letter iota --> -<!ENTITY Kappa "Κ"> <!-- U+039A - greek capital letter kappa --> -<!ENTITY Lambda "Λ"> <!-- U+039B ISOgrk3 - greek capital letter lambda --> -<!ENTITY Mu "Μ"> <!-- U+039C - greek capital letter mu --> -<!ENTITY Nu "Ν"> <!-- U+039D - greek capital letter nu --> -<!ENTITY Xi "Ξ"> <!-- U+039E ISOgrk3 - greek capital letter xi --> -<!ENTITY Omicron "Ο"> <!-- U+039F - greek capital letter omicron --> -<!ENTITY Pi "Π"> <!-- U+03A0 ISOgrk3 - greek capital letter pi --> -<!ENTITY Rho "Ρ"> <!-- U+03A1 - greek capital letter rho --> -<!ENTITY Sigma "Σ"> <!-- U+03A3 ISOgrk3 - greek capital letter sigma --> -<!ENTITY Tau "Τ"> <!-- U+03A4 - greek capital letter tau --> -<!ENTITY Upsilon "Υ"> <!-- U+03A5 ISOgrk3 - greek capital letter upsilon --> -<!ENTITY Phi "Φ"> <!-- U+03A6 ISOgrk3 - greek capital letter phi --> -<!ENTITY Chi "Χ"> <!-- U+03A7 - greek capital letter chi --> -<!ENTITY Psi "Ψ"> <!-- U+03A8 ISOgrk3 - greek capital letter psi --> -<!ENTITY Omega "Ω"> <!-- U+03A9 ISOgrk3 - greek capital letter omega --> -<!ENTITY alpha "α"> <!-- U+03B1 ISOgrk3 - greek small letter alpha --> -<!ENTITY beta "β"> <!-- U+03B2 ISOgrk3 - greek small letter beta --> -<!ENTITY gamma "γ"> <!-- U+03B3 ISOgrk3 - greek small letter gamma --> -<!ENTITY delta "δ"> <!-- U+03B4 ISOgrk3 - greek small letter delta --> -<!ENTITY epsilon "ε"> <!-- U+03B5 ISOgrk3 - greek small letter epsilon --> -<!ENTITY zeta "ζ"> <!-- U+03B6 ISOgrk3 - greek small letter zeta --> -<!ENTITY eta "η"> <!-- U+03B7 ISOgrk3 - greek small letter eta --> -<!ENTITY theta "θ"> <!-- U+03B8 ISOgrk3 - greek small letter theta --> -<!ENTITY iota "ι"> <!-- U+03B9 ISOgrk3 - greek small letter iota --> -<!ENTITY kappa "κ"> <!-- U+03BA ISOgrk3 - greek small letter kappa --> -<!ENTITY lambda "λ"> <!-- U+03BB ISOgrk3 - greek small letter lambda --> -<!ENTITY mu "μ"> <!-- U+03BC ISOgrk3 - greek small letter mu --> -<!ENTITY nu "ν"> <!-- U+03BD ISOgrk3 - greek small letter nu --> -<!ENTITY xi "ξ"> <!-- U+03BE ISOgrk3 - greek small letter xi --> -<!ENTITY omicron "ο"> <!-- U+03BF NEW - greek small letter omicron --> -<!ENTITY pi "π"> <!-- U+03C0 ISOgrk3 - greek small letter pi --> -<!ENTITY rho "ρ"> <!-- U+03C1 ISOgrk3 - greek small letter rho --> -<!ENTITY sigmaf "ς"> <!-- U+03C2 ISOgrk3 - greek small letter final sigma --> -<!ENTITY sigma "σ"> <!-- U+03C3 ISOgrk3 - greek small letter sigma --> -<!ENTITY tau "τ"> <!-- U+03C4 ISOgrk3 - greek small letter tau --> -<!ENTITY upsilon "υ"> <!-- U+03C5 ISOgrk3 - greek small letter upsilon --> -<!ENTITY phi "φ"> <!-- U+03C6 ISOgrk3 - greek small letter phi --> -<!ENTITY chi "χ"> <!-- U+03C7 ISOgrk3 - greek small letter chi --> -<!ENTITY psi "ψ"> <!-- U+03C8 ISOgrk3 - greek small letter psi --> -<!ENTITY omega "ω"> <!-- U+03C9 ISOgrk3 - greek small letter omega --> -<!ENTITY thetasym "ϑ"> <!-- U+03D1 NEW - greek small letter theta symbol --> -<!ENTITY upsih "ϒ"> <!-- U+03D2 NEW - greek upsilon with hook symbol --> -<!ENTITY piv "ϖ"> <!-- U+03D6 ISOgrk3 - greek pi symbol --> - -<!-- General Punctuation --> -<!ENTITY bull "•"> <!-- U+2022 ISOpub - bullet = black small circle --> -<!ENTITY hellip "…"> <!-- U+2026 ISOpub - horizontal ellipsis = three dot leader --> -<!ENTITY prime "′"> <!-- U+2032 ISOtech - prime = minutes = feet --> -<!ENTITY Prime "″"> <!-- U+2033 ISOtech - double prime = seconds = inches --> -<!ENTITY oline "‾"> <!-- U+203E NEW - overline = spacing overscore --> -<!ENTITY frasl "⁄"> <!-- U+2044 NEW - fraction slash --> - -<!-- Letterlike Symbols --> -<!ENTITY weierp "℘"> <!-- U+2118 ISOamso - script capital P = power set = Weierstrass p --> -<!ENTITY image "ℑ"> <!-- U+2111 ISOamso - blackletter capital I = imaginary part --> -<!ENTITY real "ℜ"> <!-- U+211C ISOamso - blackletter capital R = real part symbol --> -<!ENTITY trade "™"> <!-- U+2122 ISOnum - trade mark sign --> -<!ENTITY alefsym "ℵ"> <!-- U+2135 NEW - alef symbol = first transfinite cardinal --> - -<!-- Arrows --> -<!ENTITY larr "←"> <!-- U+2190 ISOnum - leftwards arrow --> -<!ENTITY uarr "↑"> <!-- U+2191 ISOnum - upwards arrow --> -<!ENTITY rarr "→"> <!-- U+2192 ISOnum - rightwards arrow --> -<!ENTITY darr "↓"> <!-- U+2193 ISOnum - downwards arrow --> -<!ENTITY harr "↔"> <!-- U+2194 ISOamsa - left right arrow --> -<!ENTITY crarr "↵"> <!-- U+21B5 NEW - downwards arrow with corner leftwards = carriage return --> -<!ENTITY lArr "⇐"> <!-- U+21D0 ISOtech - leftwards double arrow --> -<!ENTITY uArr "⇑"> <!-- U+21D1 ISOamsa - upwards double arrow --> -<!ENTITY rArr "⇒"> <!-- U+21D2 ISOtech - rightwards double arrow --> -<!ENTITY dArr "⇓"> <!-- U+21D3 ISOamsa - downwards double arrow --> -<!ENTITY hArr "⇔"> <!-- U+21D4 ISOamsa - left right double arrow --> - -<!-- Mathematical Operators --> -<!ENTITY forall "∀"> <!-- U+2200 ISOtech - for all --> -<!ENTITY part "∂"> <!-- U+2202 ISOtech - partial differential --> -<!ENTITY exist "∃"> <!-- U+2203 ISOtech - there exists --> -<!ENTITY empty "∅"> <!-- U+2205 ISOamso - empty set = null set = diameter --> -<!ENTITY nabla "∇"> <!-- U+2207 ISOtech - nabla = backward difference --> -<!ENTITY isin "∈"> <!-- U+2208 ISOtech - element of --> -<!ENTITY notin "∉"> <!-- U+2209 ISOtech - not an element of --> -<!ENTITY ni "∋"> <!-- U+220B ISOtech - contains as member --> -<!ENTITY prod "∏"> <!-- U+220F ISOamsb - n-ary product = product sign --> -<!ENTITY sum "∑"> <!-- U+2211 ISOamsb - n-ary sumation --> -<!ENTITY minus "−"> <!-- U+2212 ISOtech - minus sign --> -<!ENTITY lowast "∗"> <!-- U+2217 ISOtech - asterisk operator --> -<!ENTITY radic "√"> <!-- U+221A ISOtech - square root = radical sign --> -<!ENTITY prop "∝"> <!-- U+221D ISOtech - proportional to --> -<!ENTITY infin "∞"> <!-- U+221E ISOtech - infinity --> -<!ENTITY ang "∠"> <!-- U+2220 ISOamso - angle --> -<!ENTITY and "∧"> <!-- U+2227 ISOtech - logical and = wedge --> -<!ENTITY or "∨"> <!-- U+2228 ISOtech - logical or = vee --> -<!ENTITY cap "∩"> <!-- U+2229 ISOtech - intersection = cap --> -<!ENTITY cup "∪"> <!-- U+222A ISOtech - union = cup --> -<!ENTITY int "∫"> <!-- U+222B ISOtech - integral --> -<!ENTITY there4 "∴"> <!-- U+2234 ISOtech - therefore --> -<!ENTITY sim "∼"> <!-- U+223C ISOtech - tilde operator = varies with = similar to --> -<!ENTITY cong "≅"> <!-- U+2245 ISOtech - approximately equal to --> -<!ENTITY asymp "≈"> <!-- U+2248 ISOamsr - almost equal to = asymptotic to --> -<!ENTITY ne "≠"> <!-- U+2260 ISOtech - not equal to --> -<!ENTITY equiv "≡"> <!-- U+2261 ISOtech - identical to --> -<!ENTITY le "≤"> <!-- U+2264 ISOtech - less-than or equal to --> -<!ENTITY ge "≥"> <!-- U+2265 ISOtech - greater-than or equal to --> -<!ENTITY sub "⊂"> <!-- U+2282 ISOtech - subset of --> -<!ENTITY sup "⊃"> <!-- U+2283 ISOtech - superset of --> -<!ENTITY nsub "⊄"> <!-- U+2284 ISOamsn - not a subset of --> -<!ENTITY sube "⊆"> <!-- U+2286 ISOtech - subset of or equal to --> -<!ENTITY supe "⊇"> <!-- U+2287 ISOtech - superset of or equal to --> -<!ENTITY oplus "⊕"> <!-- U+2295 ISOamsb - circled plus = direct sum --> -<!ENTITY otimes "⊗"> <!-- U+2297 ISOamsb - circled times = vector product --> -<!ENTITY perp "⊥"> <!-- U+22A5 ISOtech - up tack = orthogonal to = perpendicular --> -<!ENTITY sdot "⋅"> <!-- U+22C5 ISOamsb - dot operator --> - -<!-- Miscellaneous Technical --> -<!ENTITY lceil "⌈"> <!-- U+2308 ISOamsc - left ceiling = apl upstile --> -<!ENTITY rceil "⌉"> <!-- U+2309 ISOamsc - right ceiling --> -<!ENTITY lfloor "⌊"> <!-- U+230A ISOamsc - left floor = apl downstile --> -<!ENTITY rfloor "⌋"> <!-- U+230B ISOamsc - right floor --> -<!ENTITY lang "〈"> <!-- U+2329 ISOtech - left-pointing angle bracket = bra --> -<!ENTITY rang "〉"> <!-- U+232A ISOtech - right-pointing angle bracket = ket --> - -<!-- Geometric Shapes --> -<!ENTITY loz "◊"> <!-- U+25CA ISOpub - lozenge --> - -<!-- Miscellaneous Symbols --> -<!ENTITY spades "♠"> <!-- U+2660 ISOpub - black spade suit --> -<!ENTITY clubs "♣"> <!-- U+2663 ISOpub - black club suit = shamrock --> -<!ENTITY hearts "♥"> <!-- U+2665 ISOpub - black heart suit = valentine --> -<!ENTITY diams "♦"> <!-- U+2666 ISOpub - black diamond suit --> diff --git a/docs/xml-docs/dtd/document-v10.dtd b/docs/xml-docs/dtd/document-v10.dtd deleted file mode 100644 index 78c7d877a..000000000 --- a/docs/xml-docs/dtd/document-v10.dtd +++ /dev/null @@ -1,555 +0,0 @@ -<!-- =================================================================== - - Apache Documentation DTD (Version 1.0) - -PURPOSE: - This DTD was developed to create a simple yet powerful document - type for software documentation for use with the Apache projects. - It is an XML-compliant DTD and it's maintained by the Apache XML - project. - -TYPICAL INVOCATION: - - <!DOCTYPE document PUBLIC - "-//APACHE//DTD Documentation Vx.yz//EN" - "http://xml.apache.org/DTD/document-vxyz.dtd"> - - where - - x := major version - y := minor version - z := status identifier (optional) - -NOTES: - Many of the design patterns used in this DTD were take from the - W3C XML Specification DTD edited by Eve Maler <elm@arbortext.com>. - - Where possible, great care has been used to reutilize HTML tag - names to reduce learning efforts and to allow HTML editors to be - used for complex authorings like tables and lists. - -AUTHORS: - Stefano Mazzocchi <stefano@apache.org> - -FIXME: - - how can we include char entities without hardwiring them? - - should "form" tags be included? - - should all style-free HTML 4.0 markup tags be included? - - how do we handle the idea of "soft" xlinks? - - should we add "soft" links to images? - -CHANGE HISTORY: - 19991121 Initial version. (SM) - 19991123 Replaced "res" with more standard "strong" for emphasis. (SM) - 19991124 Added "fork" element for window forking behavior. (SM) - 19991124 Added "img-inline" element to separate from "img". (SM) - 19991129 Removed "affiliation" from "author". (SM) - 19991129 Made "author" empty and moved "name|email" as attributes. (SM) - 19991215 Simplified table section. (SM) - 19991215 Changed "img-block" in more friendly "figure". (SM) - 20000125 Added the "icon" image. (SM) - 20000126 Allowed "anchor" in all levels. (SM) - 20000404 Removed the "role" attribute from common-xxx.att. (SM) - 20000815 Allowed "code" inside "strong" and "em". (SM) - -COPYRIGHT: - Copyright (c) 1999-2000 The Apache Software Foundation. - - Permission to copy in any form is granted provided this notice is - included in all copies. Permission to redistribute is granted - provided this file is distributed untouched in all its parts and - included files. - -==================================================================== --> - - - - -<!-- =============================================================== --> -<!-- Common character entities (included from external file) --> -<!-- =============================================================== --> - -<!-- FIXME (SM): this is hardcoding. Find a better way of doing this - possibly using public identifiers of ISO latin char sets --> -<!ENTITY % charEntity SYSTEM "characters.ent"> -%charEntity; - - - - -<!-- =============================================================== --> -<!-- Userful entitieis for increased DTD readability --> -<!-- =============================================================== --> - -<!ENTITY % text "#PCDATA"> - - -<!-- =============================================================== --> -<!-- Entities for general XML compliance --> -<!-- =============================================================== --> - -<!-- Common attributes - Every element has an ID attribute (sometimes required, - but usually optional) for links. %common.att; - is for common attributes where the ID is optional, and - %common-idreq.att; is for common attributes where the - ID is required. ---> -<!ENTITY % common.att - 'id ID #IMPLIED - xml:lang NMTOKEN #IMPLIED'> -<!ENTITY % common-idreq.att - 'id ID #REQUIRED - xml:lang NMTOKEN #IMPLIED'> - - -<!-- xml:space attribute =============================================== - Indicates that the element contains white space - that the formatter or other application should retain, - as appropriate to its function. -==================================================================== --> -<!ENTITY % xmlspace.att - 'xml:space (default|preserve) #FIXED "preserve"'> - - -<!-- def attribute ===================================================== - Points to the element where the relevant definition can be - found, using the IDREF mechanism. %def.att; is for optional - def attributes, and %def-req.att; is for required def - attributes. -==================================================================== --> -<!ENTITY % def.att - 'def IDREF #IMPLIED'> -<!ENTITY % def-req.att - 'def IDREF #REQUIRED'> - - - -<!-- ref attribute ===================================================== - Points to the element where more information can be found, - using the IDREF mechanism. %ref.att; is for optional - ref attributes, and %ref-req.att; is for required ref - attributes. -================================================================== --> -<!ENTITY % ref.att - 'ref IDREF #IMPLIED'> -<!ENTITY % ref-req.att - 'ref IDREF #REQUIRED'> - - -<!-- =============================================================== --> -<!-- Entities for XLink compliance --> -<!-- =============================================================== --> - -<!ENTITY % xlink-simple.att - 'type (simple|extended|locator|arc) #FIXED "simple" - href CDATA #IMPLIED - role CDATA #IMPLIED - title CDATA #IMPLIED '> -<!-- 'xmlns CDATA #FIXED "http://www.w3.org/XML/XLink/0.9" --> -<!-- FIXME: brain-dead IE5 has broken support for - namespace validation and since I use it for editing - I remove this for now --> - -<!ENTITY % xlink-user-replace.att - 'show (new|parsed|replace) #FIXED "replace" - actuate (user|auto) #FIXED "user" '> - -<!ENTITY % xlink-user-new.att - 'show (new|parsed|replace) #FIXED "new" - actuate (user|auto) #FIXED "user" '> - -<!ENTITY % xlink-auto-parsed.att - 'show (new|parsed|replace) #FIXED "parsed" - actuate (user|auto) #FIXED "auto" '> - -<!-- FIXME (SM): XLink doesn't yet cover the idea of soft links so - introducing it here using the same namespace is _somewhat_ - illegal. Should we create it own namespace? ---> -<!ENTITY % xlink-soft.att - 'mode (hard|soft) #FIXED "soft" '> - - -<!-- =============================================================== --> -<!-- Entities for general usage --> -<!-- =============================================================== --> - - -<!-- Key attribute ===================================================== - Optionally provides a sorting or indexing key, for cases when - the element content is inappropriate for this purpose. -==================================================================== --> -<!ENTITY % key.att - 'key CDATA #IMPLIED'> - - - -<!-- Title attributes ================================================== - Indicates that the element requires to have a title. -==================================================================== --> -<!ENTITY % title.att - 'title CDATA #REQUIRED'> - - - -<!-- Name attributes ================================================== - Indicates that the element requires to have a name. -==================================================================== --> -<!ENTITY % name.att - 'name CDATA #REQUIRED'> - - - -<!-- Email attributes ================================================== - Indicates that the element requires to have an email. -==================================================================== --> -<!ENTITY % email.att - 'email CDATA #REQUIRED'> - - - - - -<!-- =============================================================== --> -<!-- General definitions --> -<!-- =============================================================== --> - -<!-- A person is a general human entity --> -<!ELEMENT person EMPTY> -<!ATTLIST person %common.att; - %name.att; - %email.att;> - - - - -<!-- =============================================================== --> -<!-- Content definitions --> -<!-- =============================================================== --> - -<!ENTITY % local.content.mix ""> - -<!ENTITY % markup "strong|em|code|sub|sup"> - -<!ENTITY % links "link|connect|jump|fork|anchor"> - -<!ENTITY % special "br|img|icon"> - -<!ENTITY % link-content.mix "%text;|%markup;|%special;%local.content.mix;"> - -<!ENTITY % content.mix "%link-content.mix;|%links;"> - - <!-- ==================================================== --> - <!-- Phrase Markup --> - <!-- ==================================================== --> - - <!-- Code (typically monospaced) --> - <!ELEMENT code (%text;)> - <!ATTLIST code %common.att;> - - <!-- Strong (typically bold) --> - <!ELEMENT strong (%text;|code)*> - <!ATTLIST strong %common.att;> - - <!-- Emphasis (typically italic) --> - <!ELEMENT em (%text;|code)*> - <!ATTLIST em %common.att;> - - <!-- Superscript (typically smaller and higher) --> - <!ELEMENT sup (%text;)> - <!ATTLIST sup %common.att;> - - <!-- Subscript (typically smaller and lower) --> - <!ELEMENT sub (%text;)> - <!ATTLIST sub %common.att;> - - <!-- FIXME (SM): should we add these HTML 4.0 markups - which are style-free? - - -dfn - -samp - -kbd - -var - -cite - -abbr - -acronym - - --> - - <!-- ==================================================== --> - <!-- Hypertextual Links --> - <!-- ==================================================== --> - - <!-- hard replacing link (equivalent of <a ...>) --> - <!ELEMENT link (%link-content.mix;)*> - <!ATTLIST link %common.att; - %xlink-simple.att; - %xlink-user-replace.att;> - - <!-- Hard window replacing link (equivalent of <a ... target="_top">) --> - <!ELEMENT jump (%link-content.mix;)*> - <!ATTLIST jump %common.att; - %xlink-simple.att; - %xlink-user-new.att;> - - <!-- Hard window forking link (equivalent of <a ... target="_new">) --> - <!ELEMENT fork (%link-content.mix;)*> - <!ATTLIST fork %common.att; - %xlink-simple.att; - %xlink-user-new.att;> - - <!-- Anchor point (equivalent of <a name="...">) --> - <!ELEMENT anchor EMPTY> - <!ATTLIST anchor %common-idreq.att;> - - <!-- Soft link between processed pages (no equivalent in HTML) --> - <!ELEMENT connect (%link-content.mix;)*> - <!ATTLIST connect %common.att; - %xlink-simple.att; - %xlink-user-replace.att; - %xlink-soft.att;> - - <!-- ==================================================== --> - <!-- Specials --> - <!-- ==================================================== --> - - <!-- Breakline Object (typically forces line break) --> - <!ELEMENT br EMPTY> - <!ATTLIST br %common.att;> - - <!-- Image Object (typically an inlined image) --> - <!-- FIXME (SM): should we have the notion of soft links even here - for inlined objects? --> - <!ELEMENT img EMPTY> - <!ATTLIST img src CDATA #REQUIRED - alt CDATA #REQUIRED - height CDATA #IMPLIED - width CDATA #IMPLIED - usemap CDATA #IMPLIED - ismap (ismap) #IMPLIED - %common.att;> - - <!-- Image Icon (typically an inlined image placed as graphical item) --> - <!-- FIXME (SM): should we have the notion of soft links even here - for inlined objects? --> - <!ELEMENT icon EMPTY> - <!ATTLIST icon src CDATA #REQUIRED - alt CDATA #REQUIRED - height CDATA #IMPLIED - width CDATA #IMPLIED - %common.att;> - - - - -<!-- =============================================================== --> -<!-- Blocks definitions --> -<!-- =============================================================== --> - -<!ENTITY % local.blocks ""> - -<!ENTITY % local.lists ""> - -<!ENTITY % paragraphs "p|source|note|fixme|figure"> - -<!ENTITY % tables "table"> - -<!ENTITY % lists "ol|ul|sl|dl %local.lists;"> - -<!ENTITY % blocks "anchor|%paragraphs;|%tables;|%lists; %local.blocks;"> - - <!-- ==================================================== --> - <!-- Paragraphs --> - <!-- ==================================================== --> - - <!-- Text Paragraph (normally vertically space delimited) --> - <!ELEMENT p (%content.mix;)*> - <!ATTLIST p %common.att;> - - <!-- Source Paragraph (normally space is preserved) --> - <!ELEMENT source (%content.mix;)*> - <!ATTLIST source %common.att; - %xmlspace.att;> - - <!-- Note Paragraph (normally shown encapsulated) --> - <!ELEMENT note (%content.mix;)*> - <!ATTLIST note %common.att;> - - <!-- Fixme Paragraph (normally not shown) --> - <!ELEMENT fixme (%content.mix;)*> - <!-- the "author" attribute should match the "key" attribute of the - <author> element --> - <!ATTLIST fixme author CDATA #REQUIRED - %common.att;> - - <!-- ==================================================== --> - <!-- Tables --> - <!-- ==================================================== --> - - <!-- Attributes that indicate the spanning of the table cell --> - <!ENTITY % cell.span - 'colspan CDATA "1" - rowspan CDATA "1"'> - - <!-- Table element --> - <!ELEMENT table (caption?, tr+)> - <!ATTLIST table %common.att;> - - <!-- The table title --> - <!ELEMENT caption (%content.mix;)*> - <!ATTLIST caption %common.att;> - - <!-- The table row element --> - <!ELEMENT tr (th|td)+> - <!ATTLIST tr %common.att;> - - <!-- The table row header element --> - <!ELEMENT th (%content.mix;)*> - <!ATTLIST th %common.att; - %cell.span;> - - <!-- The table row description element --> - <!ELEMENT td (%content.mix;)*> - <!ATTLIST td %common.att; - %cell.span;> - - <!-- ==================================================== --> - <!-- Lists --> - <!-- ==================================================== --> - - <!-- Unordered list (typically bulleted) --> - <!ELEMENT ul (li|%lists;)+> - <!-- spacing attribute: - Use "normal" to get normal vertical spacing for items; - use "compact" to get less spacing. The default is dependent - on the stylesheet. --> - <!ATTLIST ul - %common.att; - spacing (normal|compact) #IMPLIED> - - <!-- Ordered list (typically numbered) --> - <!ELEMENT ol (li|%lists;)+> - <!-- spacing attribute: - Use "normal" to get normal vertical spacing for items; - use "compact" to get less spacing. The default is dependent - on the stylesheet. --> - <!ATTLIST ol - %common.att; - spacing (normal|compact) #IMPLIED> - - <!-- Simple list (typically with no mark) --> - <!ELEMENT sl (li|%lists;)+> - <!ATTLIST sl %common.att;> - - <!-- List item --> - <!ELEMENT li (%content.mix;|%lists;)*> - <!ATTLIST li %common.att;> - - <!-- Definition list (typically two-column) --> - <!ELEMENT dl (dt,dd)+> - <!ATTLIST dl %common.att;> - - <!-- Definition term --> - <!ELEMENT dt (%content.mix;)*> - <!ATTLIST dt %common.att;> - - <!-- Definition description --> - <!ELEMENT dd (%content.mix;)*> - <!ATTLIST dd %common.att;> - - <!-- ==================================================== --> - <!-- Special Blocks --> - <!-- ==================================================== --> - - <!-- Image Block (typically a separated and centered image) --> - <!-- FIXME (SM): should we have the notion of soft links even here - for inlined objects? --> - <!ELEMENT figure EMPTY> - <!ATTLIST figure src CDATA #REQUIRED - alt CDATA #REQUIRED - height CDATA #IMPLIED - width CDATA #IMPLIED - usemap CDATA #IMPLIED - ismap (ismap) #IMPLIED - %common.att;> - - - - - -<!-- =============================================================== --> -<!-- Document --> -<!-- =============================================================== --> - -<!ELEMENT document (header?, body, footer?)> -<!ATTLIST document %common.att;> - - <!-- ==================================================== --> - <!-- Header --> - <!-- ==================================================== --> - - <!ENTITY % local.headers ""> - - <!ELEMENT header (title, subtitle?, version?, type?, authors, - notice*, abstract? %local.headers;)> - <!ATTLIST header %common.att;> - - <!ELEMENT title (%text;)> - <!ATTLIST title %common.att;> - - <!ELEMENT subtitle (%text;)> - <!ATTLIST subtitle %common.att;> - - <!ELEMENT version (%text;)> - <!ATTLIST version %common.att;> - - <!ELEMENT type (%text;)> - <!ATTLIST type %common.att;> - - <!ELEMENT authors (person+)> - <!ATTLIST authors %common.att;> - - <!ELEMENT notice (%content.mix;)*> - <!ATTLIST notice %common.att;> - - <!ELEMENT abstract (%content.mix;)*> - <!ATTLIST abstract %common.att;> - - <!-- ==================================================== --> - <!-- Body --> - <!-- ==================================================== --> - - <!ENTITY % local.sections ""> - - <!ENTITY % sections "s1|anchor %local.sections;"> - - <!ELEMENT body (%sections;)+> - <!ATTLIST body %common.att;> - - <!ELEMENT s1 (s2|%blocks;)*> - <!ATTLIST s1 %title.att; %common.att;> - - <!ELEMENT s2 (s3|%blocks;)*> - <!ATTLIST s2 %title.att; %common.att;> - - <!ELEMENT s3 (s4|%blocks;)*> - <!ATTLIST s3 %title.att; %common.att;> - - <!ELEMENT s4 (%blocks;)*> - <!ATTLIST s4 %title.att; %common.att;> - - <!-- ==================================================== --> - <!-- Footer --> - <!-- ==================================================== --> - - <!ENTITY % local.footers ""> - - <!ELEMENT footer (legal %local.footers;)> - - <!ELEMENT legal (%content.mix;)*> - <!ATTLIST legal %common.att;> - -<!-- =============================================================== --> -<!-- End of DTD --> -<!-- =============================================================== --> diff --git a/docs/xml-docs/dtd/faq-v10.dtd b/docs/xml-docs/dtd/faq-v10.dtd deleted file mode 100644 index 35459ae7e..000000000 --- a/docs/xml-docs/dtd/faq-v10.dtd +++ /dev/null @@ -1,77 +0,0 @@ -<!-- =================================================================== - - Apache FAQ DTD (Version 1.0) - -PURPOSE: - This DTD was developed to create a simple yet powerful document - type for software FAQ's for use with the Apache projects. - It is an XML-compliant DTD and it's maintained by the Apache XML - project. - -TYPICAL INVOCATION: - - <!DOCTYPE document PUBLIC - "-//APACHE//DTD FAQ Vx.yz//EN" - "http://xml.apache.org/DTD/faq-vxyz.dtd"> - - where - - x := major version - y := minor version - z := status identifier (optional) - -NOTES: - FAQs represent a powerful knowledge base and a very good way of solving - common user problems reducing messages on mail lists and reducing the effort - required for software installation and usage. Thid DTD want to be a common - format for FAQ interchange to allow FAQ-O-Matic-type workgroup services to - be published in other formats as well as enhancing data interchange. - -AUTHORS: - Stefano Mazzocchi <stefano@apache.org> - -FIXME: - -CHANGE HISTORY: - 19991129 Initial version. (SM) - -COPYRIGHT: - Copyright (c) @year@ The Apache Software Foundation. - - Permission to copy in any form is granted provided this notice is - included in all copies. Permission to redistribute is granted - provided this file is distributed untouched in all its parts and - included files. - -==================================================================== --> - -<!-- =============================================================== --> -<!-- Extend the Documentation DTD --> -<!-- =============================================================== --> - -<!-- FIXME (SM): this is hardcoding. Find a better way of doing this - possibly using public identifiers --> -<!ENTITY % document-dtd SYSTEM "document-v10.dtd"> -%document-dtd; - - -<!-- =============================================================== --> -<!-- Document Type Definition --> -<!-- =============================================================== --> - -<!ELEMENT faqs (authors?, faq)+> -<!ATTLIST faqs %common.att; - %title.att;> - - <!ELEMENT faq (question, answer)> - <!ATTLIST faq %common.att;> - - <!ELEMENT question (%content.mix;)*> - <!ATTLIST question %common.att;> - - <!ELEMENT answer (%blocks;)*> - <!ATTLIST answer author IDREF #IMPLIED> - -<!-- =============================================================== --> -<!-- End of DTD --> -<!-- =============================================================== --> diff --git a/docs/xml-docs/dtd/specification-v10.dtd b/docs/xml-docs/dtd/specification-v10.dtd deleted file mode 100644 index 39d26f80e..000000000 --- a/docs/xml-docs/dtd/specification-v10.dtd +++ /dev/null @@ -1,85 +0,0 @@ -<!-- =================================================================== - - Apache Specification DTD (Version 1.0) - -PURPOSE: - This DTD was developed to create a simple yet powerful document - type for software specifications for use with the Apache projects. - It is an XML-compliant DTD and it's maintained by the Apache XML - project. - -TYPICAL INVOCATION: - - <!DOCTYPE document PUBLIC - "-//APACHE//DTD Specification Vx.yz//EN" - "http://xml.apache.org/DTD/specification-vxyz.dtd"> - - where - - x := major version - y := minor version - z := status identifier (optional) - -NOTES: - -AUTHORS: - Stefano Mazzocchi <stefano@apache.org> - -FIXME: - -CHANGE HISTORY: - 19991129 Initial version. (SM) - -COPYRIGHT: - Copyright (c) @year@ The Apache Software Foundation. - - Permission to copy in any form is granted provided this notice is - included in all copies. Permission to redistribute is granted - provided this file is distributed untouched in all its parts and - included files. - -==================================================================== --> - -<!-- =============================================================== --> -<!-- Extend the Documentation DTD --> -<!-- =============================================================== --> - -<!-- extend the local.xxx entities --> -<!ENTITY % local.lists "|bl"> - -<!-- FIXME (SM): this is hardcoding. Find a better way of doing this - possibly using public identifiers --> -<!ENTITY % document-dtd SYSTEM "document-v10.dtd"> -%document-dtd; - -<!-- =============================================================== --> -<!-- Document Type Definition --> -<!-- =============================================================== --> - -<!ELEMENT specification (header?, body, appendices?, footer?)> -<!ATTLIST specification %common.att;> - - <!ELEMENT appendices (%sections;)+> - <!ATTLIST appendices %common.att;> - -<!-- =============================================================== --> -<!-- Bibliography List --> -<!-- =============================================================== --> - - <!-- Bibliography list --> - <!ELEMENT bl (bi)+> - <!ATTLIST bl %common.att;> - - <!-- Book item --> - <!ELEMENT bi EMPTY> - <!ATTLIST bi %common.att; - %name.att; - %title.att; - %xlink-simple.att; - %xlink-user-new.att; - authors CDATA #REQUIRED - date CDATA #IMPLIED> - -<!-- =============================================================== --> -<!-- End of DTD --> -<!-- =============================================================== --> diff --git a/docs/xml-docs/dtd/todo-v10.dtd b/docs/xml-docs/dtd/todo-v10.dtd deleted file mode 100644 index 46e22cbb2..000000000 --- a/docs/xml-docs/dtd/todo-v10.dtd +++ /dev/null @@ -1,90 +0,0 @@ -<!-- =================================================================== - - Apache Todos DTD (Version 1.0) - -PURPOSE: - This DTD was developed to create a simple yet powerful document - type for software development todo lists for use with the Apache projects. - It is an XML-compliant DTD and it's maintained by the Apache XML - project. - -TYPICAL INVOCATION: - - <!DOCTYPE document PUBLIC - "-//APACHE//DTD Todo Vx.yz//EN" - "http://xml.apache.org/DTD/todo-vxyz.dtd"> - - where - - x := major version - y := minor version - z := status identifier (optional) - -NOTES: - It is important, expecially in open developped software projects, to keep - track of software changes that need to be done, planned features, development - assignment, etc. in order to allow better work parallelization and create - an entry point for people that want to help. This DTD wants to provide - a solid foundation to provide such information and to allow it to be - published as well as distributed in a common format. - -AUTHORS: - Stefano Mazzocchi <stefano@apache.org> - -FIXME: - - do we need anymore working contexts? (SM) - -CHANGE HISTORY: - 19991129 Initial version. (SM) - 19991225 Added actions element for better structure (SM) - -COPYRIGHT: - Copyright (c) @year@ The Apache Software Foundation. - - Permission to copy in any form is granted provided this notice is - included in all copies. Permission to redistribute is granted - provided this file is distributed untouched in all its parts and - included files. - -==================================================================== --> - -<!-- =============================================================== --> -<!-- Extend the Documentation DTD --> -<!-- =============================================================== --> - -<!-- FIXME (SM): this is hardcoding. Find a better way of doing this - possibly using public identifiers --> -<!ENTITY % document-dtd SYSTEM "document-v10.dtd"> -%document-dtd; - -<!-- =============================================================== --> -<!-- Common entities --> -<!-- =============================================================== --> - -<!ENTITY % priorities "showstopper|high|medium|low|wish|dream"> - -<!ENTITY % contexts "build|docs|code|admin|design"> - -<!-- =============================================================== --> -<!-- Document Type Definition --> -<!-- =============================================================== --> - -<!ELEMENT todo (devs, actions*)> -<!ATTLIST todo %common.att; - %title.att;> - - <!ELEMENT devs (person+)> - <!ATTLIST devs %common.att;> - - <!ELEMENT actions (action+)> - <!ATTLIST actions %common.att; - priority (%priorities;) #IMPLIED> - - <!ELEMENT action (%content.mix;)*> - <!ATTLIST action %common.att; - assigned-to IDREF #IMPLIED - context (%contexts;) #REQUIRED> - -<!-- =============================================================== --> -<!-- End of DTD --> -<!-- =============================================================== --> diff --git a/docs/xml-docs/fop.xml b/docs/xml-docs/fop.xml deleted file mode 100644 index bc484d152..000000000 --- a/docs/xml-docs/fop.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0"?> - -<book title="FOP XSL-FO documentation" copyright="1999-2001 The Apache Software Foundation"> - <external href="http://xml.apache.org/" label="Home"/> - <separator/> - <page id="index" label="Readme" source="fop/readme.xml"/> - <page id="todo" label="TODO" source="fop/todo.xml" /> - <page id="download" label="Download" source="fop/download.xml" /> - <page id="running" label="Running FOP" source="fop/running.xml" /> - <page id="implemented" label="Features" source="fop/implemented.xml" /> - <page id="limitations" label="Limitations" source="fop/limitations.xml" /> - <page id="examples" label="Examples" source="fop/examples.xml" /> - <page id="config" label="Configuration" source="fop/configuration.xml" /> - <page id="fonts" label="Fonts" source="fop/fonts.xml" /> - <page id="extensions" label="Extensions" source="fop/extensions.xml" /> - <page id="svg" label="SVG" source="fop/svg.xml" /> - <separator/> - <page id="compiling" label="Compiling" source="fop/compiling.xml" /> - <page id="embedding" label="Embedding" source="fop/embedding.xml" /> - <page id="testing" label="Testing" source="fop/testing.xml" /> - <page id="involved" label="Getting involved" source="fop/involved.xml" /> - <page id="architecture" label="Architecture" source="fop/architecture.xml"/> - <separator/> - <page id="bugs" label="Bugs" source="fop/bugs.xml" /> - <page id="faq" label="FAQ" source="fop/faq.xml" /> - <page id="resources" label="Resources" source="fop/resources.xml" /> - <page id="license" label="License" source="fop/license.xml" /> - -</book> diff --git a/docs/xml-docs/fop/architecture.xml b/docs/xml-docs/fop/architecture.xml deleted file mode 100644 index e6dbcad36..000000000 --- a/docs/xml-docs/fop/architecture.xml +++ /dev/null @@ -1,345 +0,0 @@ -<?xml version="1.0" standalone="no"?> - -<!-- by Arved Sandstrom --> - -<s1 title="FOP Mechanics"> - -<s2 title="Introduction"> - -<p> -The overall process is controlled by <em>org.apache.fop.apps.Driver</em>. In -this class, a typical sequence is:</p> - -<source>Driver driver = new Driver();<br/> -driver.setRenderer("org.apache.fop.render.pdf.PDFRenderer", version);<br/> -driver.setOutputStream(new FileOutputStream(args[1]));<br/> -driver.render(parser, inputHandler.getInputSource());</source> -</s2> - -<s2 title="Formatting Object Tree"> -<p>The class <em>org.apache.fop.fo.FOTreeBuilder</em> is responsible for actually -constructing the FO tree. The key SAX events used are </p> -<p><code>startElement()</code>,</p> -<p><code>endElement()</code> and <code>characters()</code>.</p> - -<p>All formatting objects derive from abstract class -<em>org.apache.fop.fo.FONode</em>. The other FO classes inherit from -<em>FONode</em> as follows:</p> - -<p><code>            FONode</code></p> -<p><code>               |</code></p> -<p><code>     __________|________</code></p> -<p><code>    |                   |</code></p> -<p><code>   FObj               FOText</code></p> -<p><code>    |</code></p> -<p><code>    |___________________</code></p> -<p><code>    |                   |</code></p> -<p><code>  FObjMixed      SequenceSpecifier -</code></p> - -<p>FO's extending FObj:</p> - -<p>Package org.apache.fop.fo.pagination:</p> - - -<p><code> LayoutMasterSet</code></p> -<p><code> PageSequence</code></p> -<p><code> RegionAfter</code></p> -<p><code> RegionBefore</code></p> -<p><code> RegionBody</code></p> -<p><code> Root</code></p> -<p><code> SequenceSpecification</code></p> -<p><code> SimplePageMaster</code></p> - - - <p>Package org.apache.fop.fo.flow:</p> - - -<p><code>BlockContainer</code></p> -<p><code>DisplayGraphic</code></p> -<p><code>DisplayRule</code></p> -<p><code>DisplaySequence</code></p> -<p><code>Flow</code></p> -<p><code>InlineGraphic</code></p> -<p><code>ListBlock</code></p> -<p><code>ListItem</code></p> -<p><code>ListItemBody</code></p> -<p><code>ListItemLabel</code></p> -<p><code>PageNumber</code></p> -<p><code>StaticContent</code></p> -<p><code>Table</code></p> -<p><code>TableBody</code></p> -<p><code>TableCell</code></p> -<p><code>TableColumn</code></p> -<p><code>TableRow</code></p> - -<p>FO's extending SequenceSpecifier:</p> - - <p>Package org.apache.fop.fo.pagination:</p> - - -<p><code>SequenceSpecifierAlternating</code></p> -<p><code>SequenceSpecifierRepeating</code></p> -<p><code>SequenceSpecifierSingle</code></p> - -<p>FO's extending FObjMixed:</p> - - <p>Package org.apache.fop.fo.flow:</p> - - -<p><code>Block</code></p> -<p><code>Inline</code></p> -<p><code>BasicLink</code></p> - -</s2> - -<s2 title="FONode"> -<p> -The class inheritance described above only describes the nature of the -content. Every FO in FOP also has a parent, and a Vector of children. The -parent attribute (in the Java sense), in particular, is used to enforce -constraints required by the FO hierarchy. -</p> - -<p> -FONode, among other things, ensures that FO's have a parent, that they -have children, that they maintain a marker of where the layout was up to -(for FObj's it is the child number, and for FOText's it is the character -number), and that they have a <code>layout()</code> method. -</p> -</s2> - -<s2 title="Making FO's"> - -<p> -Every FO class has code that looks something like this: -</p> - -<p><code>public static class Maker extends FObj.Maker {</code></p> -<p><code>   public FObj make(FObj parent, PropertyList propertyList)</code></p> -<p><code>     throws FOPException</code></p> -<p><code>   {</code></p> -<p><code>     return new SimplePageMaster(parent, propertyList);</code></p> -<p><code>   }</code></p> -<p><code>}</code></p> - - -<p> -The class also has a static method that resembles -</p> - -<p><code>public static FObj.Maker maker()</code></p> -<p><code>   {</code></p> -<p><code>     return new PageSequence.Maker();</code></p> -<p><code>   }</code></p> - -<p> -A hash 'fobjTable' exists in <em>FOTreeBuilder</em>, and maps the FO names (such as -'fo:table') to object references to the appropriate factories -(such as <em>Table.Maker</em>). -</p> - -<p> -Properties (recall that FO's have properties, areas have traits, and XML -nodes have attributes) are also a concern of <em>FOTreeBuilder</em>. It -accomplishes this by using a <em>PropertyListBuilder</em>. There is a -separate <em>PropertyListBuilder</em> for each namespace encountered -while building the FO tree. Each Builder object contains a hash of -property names and <ref>their</ref> respective makers. It may also -contain element-specific property maker hashes; these are based on the -<em>local name</em> of the flow object, ie. <em>table-row</em>, not -<em>fo:table-row</em>. If an element-specific property mapping exists, -it is preferred to the generic mapping.</p> -<p>The base class for all -properties is <em>Property</em>, and all the property makers extend -<em>Property.Maker</em>. A more complete discussion of the property -architecture may be found in <jump href="properties.html">Properties</jump>. -</p> -</s2> -<s2 title="FO Formatting"> - -<p> -<em>FOTreeBuilder</em> calls <code>format()</code> on the root FO, passing -it the <em>AreaTree</em> -reference. In turn, <em>Root</em> calls <code>format()</code> on each -<em>PageSequence</em>, passing <ref>it</ref> -the <em>AreaTree</em> reference. -</p> - -<p> -The <em>PageSequence</em> <code>format()</code> method does the following things: -</p> - -<ol> -<li>Makes a <em>Page</em>, using <em>PageMasterFactory</em> to produce a -<em>PageMaster</em>, and -using <code>makePage()</code> in the latter class. In the simplest picture, -a <em>Page</em> has -5 areas represented by <em>AreaContainers</em>;</li> - -<li>Handles layout for <em>StaticContent</em> objects in the 'before' and 'after' -regions, if set. This uses the <code>layout()</code> method in -<em>StaticContent</em>;</li> - -<li>If a page break is not forced, it will continue to layout the flow into -the body area (<em>AreaContainer</em>) of the current page;</li> - -<li>It continues with (1) when layout into the current page is done, but -the flow is not empty.</li> -</ol> -</s2> - -<s2 title="Area Layout"> - -<p> -FO's that represent actual areas, starting with <em>Flow</em> and -<em>StaticContent</em>, have -a <code>layout()</code> method, with the following signature: -</p> - -<p> -<code> - public Status layout(Area area) -</code> -</p> - -<p> -The fundamental role of the <code>layout()</code> method is to manage the layout of -children and/or to generate new areas. -</p> - -<p> -<em>Example</em>: the <code>layout()</code> method for <em>Flow</em> generates no new areas - it manages the -layout of the flow children. -</p> - -<p> -<em>Example</em>: the <code>layout()</code> method for <em>Block</em> -generates a new <em>BlockArea</em> in and of -itself, and also manages the layout of the block children, which are added -to the <em>BlockArea</em> before that is itself added to its parent -<em>Area</em>. -</p> - -<p> -<code>Layout()</code> methods are subject to the general constraint that possibly not -all of their children can be accommodated, and they report back accordingly -with an appropriate <em>Status</em>. -</p> -</s2> - -<s2 title="Rendering"> - -<p> -This is a separate process. The <code>render()</code> method in -<em>Driver</em> is invoked (say, -by <em>CommandLine</em>) with the laid-out <em>AreaTree</em> and a -<em>PrintWriter</em> as arguments. -This actually calls the <code>render()</code> method in a specific implementation of -the <em>Renderer</em> interface, typically <em>PDFRenderer</em> or -<em>AWTRenderer</em>. -</p> - -<p> -At the highest level <em>PDFRenderer</em>, for example, begins by rendering each -<em>Page</em>. The <code>render()</code> method in <em>Page</em> (as is the case for other areas), -invokes a particular method in the renderer of choice, e.g. -<code>renderPage()</code>. -<em>NOTE</em>: this system is bypassed for <em>Page</em>, incidentally. -</p> - -</s2> - - -<!-- by Art Welch --> -<s2 title="Renderers"> - <s3 title="PrintRenderer"> - <p>The PrintRenderer is an abstract base class for print type renderers. Currently the PCL, PDF, and TXT renderers extend from this. This allows as much common functionality to be contained in one place as possible (at least as much as I could consolidate fairly quickly). Unfortunately I have not yet been able to make the renderPage and renderWordArea methods common. This is unfortunate because these methods seem to experience the most activity. Maybe soneone else will have a clever solution to this (without breaking them into a bunch of little bits).</p> - <p>It is my hope that this base class will be useful for other renderers as well.</p> - </s3> - - <s3 title="PCLRenderer"> - <p>The PCLRenderer is a FOP renderer that should produce output as close to identical as possible to the printed output of the PDFRenderer within the limitations of the renderer, and output device.</p> - - <p>The output created by the PCLRenderer is generic PCL 5 as documented in the "HP PCL 5 Printer Language Technical Reference Manual" (copyright 1990). This should allow any device fully supporting PCL 5 to be able to print the output generated by the PCLRenderer.</p> - - <s4 title="Limitations"> - <ul> - <li>Text or graphics outside the left or top of the printable area are not rendered properly. In general things that should print to the left of the printable area are shifted to the right so that they start at the left edge of the printable area and an error message is generated.</li> - <li>The Helvetica and Times fonts are not well supported among PCL printers so Helvetica is mapped to Arial and Times is mapped to Times New. This is done in the PCLRenderer, no changes are required in the FO's. The metrics and appearance for Helvetica/Arial and Times/Times New are nearly identical, so this has not been a problem so far.</li> - <li>Only the original fonts built into FOP are supported.</li> - <li>For the non-symbol fonts, the ISO 8859/1 symbol set is used (PCL set "0N").</li> - <li>Multibyte characters are not supported.</li> - <li>SVG support is limited. Currently only lines, rectangles (may be rounded), circles, ellipses, text, simple paths, and images are supported. Colors are supported (dithered black and white) but not gradients.</li> - <li>Images print black and white only (not dithered). When the renderer prints a color image it uses a threshold value, colors above the threshold are printed as white and below are black. If you need to print a non-monochrome image you should dither it first.</li> - <li>Image scaling is accomplished by modifying the effective resolution of the image data. The available resolutions are 75, 100, 150, 300, and 600 DPI.</li> - <li>Color printing is not supported. Colors are rendered by mapping the color intensity to one of the PCL fill shades (from white to black in 9 steps).</li> - <li>SVG clipping is not supported.</li> - </ul> - </s4> - - <s4 title="Additional Features"> - <p>There are some special features that are controlled by some public variables on the PCLRenderer class.</p> - - <dl> - <dt>orientation</dt> - <dd><p>The logical page orientation is controlled by the public orientation variable. Legal values are:</p> - <ul> - <li>0 Portrait</li> - <li>1 Landscape</li> - <li>2 Reverse Portrait</li> - <li>3 Reverse Landscape</li> - </ul> - </dd> - <dt>curdiv, paperheight</dt> - <dd>The curdiv and paperheight variables allow multiple virtual pages to be printed on a piece of paper. This allows a standard laser printer to use perforated paper where every perforation will represent an individual page. The paperheight sets the height of a piece of paper in decipoints. This will be divided by the page.getHeight() to determine the number of equal sized divisions (pages) that will fit on the paper. The curdiv variable may be read/written to get/set the current division on the page (to set the starting division and read the ending division for multiple invocations).</dd> - <dt>topmargin, leftmargin</dt> - <dd>The topmargin and leftmargin may be used to increase the top and left margins for printing.</dd> - </dl> - </s4> - </s3> - - <s3 title="TXTRenderer"> - <p>The TXTRenderer is a FOP renderer that produces plain ASCII text output that attempts to match the output of the PDFRenderer as closely as possible. This was originally developed to accommodate an archive system that could only accept plain text files. Of course when limited to plain fixed pitch text the output does not always look very good.</p> - <p>The TXTRenderer works with a fixed size page buffer. The size of this buffer is controlled with the textCPI and textLPI public variables. The textCPI is the effective horizontal characters per inch to use. The textLPI is the vertical lines per inch to use. From these values and the page width and height the size of the buffer is calculated. The formatting objects to be rendered are then mapped to this grid. Graphic elements (lines, borders, etc) are assigned a lower priority than text, so text will overwrite any graphic element representations.</p> - </s3> -</s2> - - -<s2 title="UML Diagrams"> -<p> -You can find UML diagramms for all Fop packages (latest release version) -<jump href="http://xml.apache.org/dist/fop/fop-uml.zip">here</jump>.</p> -</s2> - -<s2 title="SVG"> - -<p> -FOP supports svg rendering. SVG is supported as an instream-foreign-object -embedded in an FO document or as an external SVG image. -</p> - -<p> -If the svg is embedded in an instream-foreign-object then all the elements and -attributes are read directly and converted into an SVG DOM representation -using the Batik library. This is then stored as a DOM until required for rendering. -The rendering process depends on the what type of renderer is being used. -</p> - -<p> -The SVG DOM is rendered in the PDF renderer by using the abitlity of Batik to render -DOM to a Graphics2D. First the DOM is converted into an intermediate representation -then this is rendered to a PDFGraphics2D graphic object which writes the drawing -instructions directly as PDF markup. -</p> - -<p> -The AWTRenderer and the PrintRenderer use Batik directly to draw the SVG image -into the current java Graphics2D context. -</p> - -<p> -For more information see the SVG documentation. -</p> -</s2> -</s1> diff --git a/docs/xml-docs/fop/bugs.xml b/docs/xml-docs/fop/bugs.xml deleted file mode 100644 index 1e8e69336..000000000 --- a/docs/xml-docs/fop/bugs.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" standalone="no"?> - -<!-- Bugs --> - -<s1 title="Bugs"> - <s2 title="How to report bugs"> - <p>Please report bugs to <jump href="http://nagoya.apache.org/bugzilla/">bugzilla</jump>, the Apache bug - database. A copy of your bug report is sent automatically to the discussion list fop-dev@xml.apache.org. </p> - <p>Please make sure, before you report a bug, that it is not mentioned in the FAQ or - in the list of open bugs at bugzilla.</p> - <p>Please make your description as concise as possible and add an example fo - file with your report, which just demonstrates the problem. Thanks for your help!</p> - </s2> - <s2 title="Known bugs"> - <p>A list of known bugs can be found at <jump href="http://nagoya.apache.org/bugzilla/">bugzilla</jump>.</p> - </s2> -</s1> - - diff --git a/docs/xml-docs/fop/compiling.xml b/docs/xml-docs/fop/compiling.xml deleted file mode 100644 index c6d8ec05d..000000000 --- a/docs/xml-docs/fop/compiling.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" standalone="no"?> - - -<!-- Compiling FOP --> - -<s1 title="Compiling FOP"> - <p>Compilation is started by executing build, either as a batch file on win32 (build.bat) or as a shell script on unix. Before you - can start one of these scripts, you have to setup your classpath and the environment variable JAVA_HOME (see below).</p> - <p> The compilation uses Ant, - a replacement of make (you can find more information about Ant at - <jump href="http://jakarta.apache.org/ant/">jakarta.apache.org</jump>). - build.xml is the replacement of makefile. Look there for detailed information on the build - process and different targets. </p> - <p>A help screen is shown by calling "build usage".</p> - <p>If you only want to use Fop, you don't need to build it. A fop.jar comes with the distribution.</p> - <s2 title="Setting up your classpath"> - <p><note>You don't have to setup your classpath; all libraries needed to compile Fop are coming with - the distribution and are referenced by the build script, so you only need to care about them, - if you build Fop in any other way. See build.bat/build.sh for details. </note></p> - </s2> - <s2 title="Setting of JAVA_HOME"> - <p>You have to set the enviroment variable JAVA_HOME. It must point to your local JDK - root directory. This is true, even if you use JDK 1.2 or above, which normally don't need this - setting. It is used by Ant, the compilation software.</p> - </s2> - <s2 title="Problems"> - <p>If you have problems compiling Fop, please try this first: </p> - <ul> - <li>delete the build directory completely and try a new build from scratch</li> - <li>check, whether you have an older version of xerces.jar, xalan.jar, batik.jar somewhere in - you classpath.</li> - </ul> - <p>If you still have problems, please look at the - page <jump href="bugs.html">bugs</jump>, for further help.</p> - </s2> -</s1> diff --git a/docs/xml-docs/fop/configuration.xml b/docs/xml-docs/fop/configuration.xml deleted file mode 100644 index 48f3863ba..000000000 --- a/docs/xml-docs/fop/configuration.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" standalone="no"?> - - -<s1 title="Configuration"> - <s2 title="How to configure Fop"> - <p>In the directory xml-fop/conf you will find two configuration files. One of them, - config.xml, is only intended for Fop developers, who want to add new default values - to some Fop feature. Don't change this file. For user configuration there is a file called - userconfig.xml. It contains templates for all settings a user can change. Most of them are - commented out. Uncomment the entry you want to set and change the value according to - your wishes. Please regard any comments which specify the value range. And, well, the - configuration files are xml files, so keep them at least well-formed ;-) - </p> - <p>The file userconfig.xml is not read automatically, but the user must specify its use on - the command line. See <jump href="running.html">Running Fop</jump> - or <jump href="embedding.html">Embedding Fop</jump> for details. - </p> - </s2> - <s2 title="setting up hyphenation"> - <p>Fop comes already with some hyphenation pattern. If you need a hyphenation pattern - which isn't included in the distribution, do the following: - </p> - <p>1. get the TeX hyphenation pattern file and turn it into an xml file which conforms - to the hyphenation.dtd in the sub directory /hyph - </p> - <p>2. name this new file following this schema: languageCode_countryCode.xml. If you don't need - a country code, leave it away, p.e. the file name for an American english hyphenation pattern - would look like this: en_US.xml. For an Italian file: it.xml. Language and country codes must be - the same as in xsl:fo, that is follow - <jump href="http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt">ISO 639</jump> - and <jump href="http://www.ics.uci.edu/pub/ietf/http/related/iso3166.txt">ISO 3166</jump> - respectively. NOTE: The ISO 639/ISO 3166 convention is that language names are - written in lower case, while country codes are written in upper case. - </p> - <p>3. If you have build your new hyphenation pattern file successfully there are - two ways to make it accessible to Fop. - </p> - <p> a) Put this new file into the directory /hyph and rebuild Fop. The file will - be picked up and added to the fop.jar. - </p> - <p> b) Put the file into a directory of your choice and specify this directory - in the userconfig.xml in the entry <hyphenation-dir>. - </p> - </s2> -</s1> - diff --git a/docs/xml-docs/fop/document.jpg b/docs/xml-docs/fop/document.jpg Binary files differdeleted file mode 100644 index e441833d8..000000000 --- a/docs/xml-docs/fop/document.jpg +++ /dev/null diff --git a/docs/xml-docs/fop/download.xml b/docs/xml-docs/fop/download.xml deleted file mode 100644 index 13489c370..000000000 --- a/docs/xml-docs/fop/download.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" standalone="no"?> - - -<!-- Download FOP --> - -<s1 title="Downloading FOP"> - <s2 title=""> - <p>You can download the latest release version from the <jump - href="http://xml.apache.org/dist/fop/">distribution directory</jump>. </p> - <p>The file contains also the documentation (including some example fo files) and the source. </p> - <p>If you want to work with the latest and nicest code, you can use the cvs version. See the section - on AnonCVS in the <jump href="http://xml.apache.org/cvs.html">xml.apache.org documentation</jump> for details. - Sometimes people have difficulties to access the cvs server; in this case you can download - a snapshot from the cvs files <jump href="http://xml.apache.org/from-cvs/xml-fop/">here</jump>. - In both cases you have to build Fop yourself - see <jump href="compiling.html">Compiling Fop</jump> for details. - </p> - <p>To run FOP from the command line, see <jump href="running.html">Running FOP</jump>. If you are - interested in embedding FOP in a Java application of your own, see - <jump href="embedding.html">Embedding FOP</jump>. - </p> - </s2> -</s1> - diff --git a/docs/xml-docs/fop/embedding.xml b/docs/xml-docs/fop/embedding.xml deleted file mode 100644 index d7f5aa58b..000000000 --- a/docs/xml-docs/fop/embedding.xml +++ /dev/null @@ -1,111 +0,0 @@ -<?xml version="1.0" standalone="no"?> - - -<!-- Embedding FOP --> - -<s1 title="Embedding FOP "> - <s2 title="Overview"> - <p>Instantiate org.apache.fop.apps.Driver. Once this class is - instantiated, methods are called to set the - Renderer to use - and the OutputStream to use to output the results of the - rendering (where applicable). In the case of the Renderer and - ElementMapping(s), the Driver may be supplied either with the - object itself, or the name of the class, in which case Driver will - instantiate the class itself. The advantage of the latter is it - enables runtime determination of Renderer and ElementMapping(s). - </p> - </s2> - <s2 title="Examples"> - <p>The simplest way to use Driver is to instantiate it with the - InputSource and OutputStream, then set the renderer desired and - call the run method. - </p> - <p>Here is an example use of Driver which outputs PDF: - </p> - <source><![CDATA[ - Driver driver = new Driver(new InputSource (args[0]), - new FileOutputStream(args[1])); - driver.setRenderer(RENDER_PDF); - driver.run();]]></source> - - <p>You also need to set the Logger for logging messages, see - <jump href="http://jakarta.apache.org/avalon/logkit/index.html">Jakarta Logkit</jump> - for more information. - </p> - <source><![CDATA[ - Hierarchy hierarchy = Hierarchy.getDefaultHierarchy(); - PatternFormatter formatter = new PatternFormatter( - "[%{priority}]: %{message}\n%{throwable}" ); - - LogTarget target = null; - target = new StreamTarget(System.out, formatter); - - hierarchy.setDefaultLogTarget(target); - log = hierarchy.getLoggerFor("fop"); - log.setPriority(Priority.INFO); - driver.setLogger(log);]]></source> - - <p>To setup the user config file you can do the following - </p> - <source><![CDATA[ - userConfigFile = new File(userConfig); - options = new Options(userConfigFile);]]></source> - - <p>Once the Driver is set up, the render method - is called. Depending on whether DOM or SAX is being used, the - invocation of the method is either render(Document) or - render(Parser, InputSource) respectively. - </p> - <p>A third possibility may be used to build the FO Tree, namely - calling getContentHandler() and firing the SAX events yourself. - </p> - <p>Once the FO Tree is built, the format() and render() methods may be - called in that order. - </p> - <p>Here is an example use of Driver:</p> - <source><![CDATA[ - Driver driver = new Driver(); - driver.setRenderer(Driver.RENDER_PDF); - driver.setInputSource(new FileInputSource(args[0])); - driver.setOutputStream(new FileOutputStream(args[1])); - driver.run();]]></source> - <p>You can also specify an xml and xsl file for the input. - </p> - <p>Here is an example use of Driver with the XSLTInputHandler:</p> - <source><![CDATA[ - Driver driver = new Driver(); - driver.setRenderer(Driver.RENDER_PDF); - InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile); - XMLReader parser = inputHandler.getParser(); - driver.setOutputStream(new FileOutputStream(outFile)); - driver.render(parser, inputHandler.getInputSource());]]></source> - <p>Have a look at the classes CommandLineStarter or FopServlet for complete examples.</p> - </s2> - <s2 title="Hints"> - <p> -If FOP is going to be used multiple times within your application -it may be useful to reuse certain objects to save time. - </p> - <p> -The renderers and the driver can both be reused. A renderer is reusable -once the previous render has been completed. The driver is reuseable -after the rendering is complete and the reset method is called. -You will need to setup the driver again with a new OutputStream, -IntputStream and renderer. - </p> - </s2> - <s2 title="Using Fop in a servlet"> - <p>In the directory xml-fop/docs/examples/embedding you can find a working example how to use - Fop in a servlet. You can drop the fop.war into the webapps directory of Tomcat, then - go to a URL like this: - </p> - <p>http://localhost:8080/fop/fop?fo=/home/path/to/fofile.fo</p> - <p>You can also find the source code there in the file FopServlet.java</p> - <p> - To compile this code you will need servlet_2_2.jar (or compatible), fop.jar and the sax api in your classpath. - </p> - </s2> -</s1> - - diff --git a/docs/xml-docs/fop/examples.xml b/docs/xml-docs/fop/examples.xml deleted file mode 100644 index 5b8388d17..000000000 --- a/docs/xml-docs/fop/examples.xml +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" standalone="no"?> - - -<!-- Examples --> - -<s1 title="Examples"> - <p>Examples for the use of xsl:fo can be found in the Fop distribution in - the subdirectory xml-fop/docs/examples/fo. You can start transformation of all fo files into pdf - files by starting xml-fop/docs/examples/runtests. The resulting test files can be found in - xml-fop/docs/examples/tests - </p> - <p>At the moment the following files are part of the distribution:</p> - <ul> - <li>simple.fo - a very simple file which gives use a first impression of the structure of an fo file - </li> - <li>normal.fo - a simple file showing the use of a 2 level of headings, normal text and a header. - </li> - <li>table.fo - some table examples - </li> - <li>list.fo - a short tutorial how to use list fo's and properties - </li> - <li>images.fo - shows how to embed gif and jpg images into the xsl:fo file using external-graphic. - </li> - <li>border.fo - a not so simple example how to use borders in tables - </li> - <li>extensive.fo - a longer test file containing a lot of different flow objects and properties. - A good candidate to test your bugfix or new Fop code. - </li> - <li>leader.fo - shows different uses of fo:leader, p.e. as rule or in a table of content - </li> - <li>normalex.fo - shows the use of computed property values - </li> - <li>inhprop.fo - shows the use of inherited property values - </li> - <li>instream.fo - shows the use of fo:instream-foreign-object together with svg - </li> - <li>textdeko.fo - shows the use of the property textdecoration - </li> - <li>readme.fo - uses an old version of Fop documentation for a longer example - </li> - - <li>Look also into the directory examples/svg. There you find some very extensive svg examples. - Just start makedoc. - </li> - <li>In the directory examples/pagination you find a suite of examples showing the use - of xsl:fo pagination. - </li> - </ul> - <p>Developers will find the first steps to a test suite for all implemented formatting objects and - properties in xml-fop/test/xml/.</p> - -</s1> - diff --git a/docs/xml-docs/fop/extensions.xml b/docs/xml-docs/fop/extensions.xml deleted file mode 100644 index 90b6d5e8f..000000000 --- a/docs/xml-docs/fop/extensions.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" standalone="no"?> - - -<s1 title="Extensions to FOP"> - <p>Sometimes it is desirable to have extensions to xsl:fo in order to support some feature of the - output format which isn't covered by the xsl:fo specification. - </p> - <s2 title="Default Extensions"> -<p> -These extension are available by default. They are automatically loaded -and you only need to provide the correct namespace for your embedded -xml markup. -</p> - <s3 title="SVG"> -<p> -Please see the <jump href="svg.html">SVG page</jump> for more details. -</p> - </s3> - <s3 title="Bookmarks"> - <p>To use this standard Fop extension, you need to add a namespace entry for - http://xml.apache.org/fop/extensions on the root element. </p> - - <p>You can provide outlines inside the root object (but outside - any page-sequences or - other formatting objects). Here's an example of an outline entry:</p> - <source> -<![CDATA[<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" - xmlns:fox="http://xml.apache.org/fop/extensions"> - <fox:outline internal-destination="sec3"> - <fox:label>Running FOP</fox:label> - - <fox:outline internal-destination="sec3-1"> - <fox:label>Prerequisites</fox:label> - </fox:outline> - <fox:outline> -</fo:root>]]></source> - <p>It works similarly to a basic-link. There is also an external-destination - property, but it isn't supported currently. See the pdfoutline.fo file in - docs/examples/fo for a more complete example.</p> - </s3> - </s2> - <s2 title="Adding Your Own"> -<p> -To add your own extension you need to do the following things. -</p> -<p> -Write code that implements your extension functionality. -The easiest place to start is by looking at the code in org.apache.fop.extension. -</p> -<p> -Create a jar file with your classes, it must also include the following file "/META-INF/services/org.apache.fop.fo.ElementMapping". In this file you need to put the fully qualified classname of your element mappings class. This class must implement the "org.apache.fop.fo.ElementMapping" interface. -</p> -<p> -Create your fo file with the extra xml data embedded in the file with the correct name space. The examples for svg and pdfoutline.fo show how this can be done. -</p> -<p> -Put your jar file in the classpath and then run fop over the fo file. -</p> - - </s2> -</s1> - diff --git a/docs/xml-docs/fop/faq.xml b/docs/xml-docs/fop/faq.xml deleted file mode 100644 index f235c49cd..000000000 --- a/docs/xml-docs/fop/faq.xml +++ /dev/null @@ -1,79 +0,0 @@ -<?xml version="1.0"?> - - -<s1 title="Frequently Asked Questions"> - <s2 title="Introduction"> - <p> - Here we have some answers to common questions about FOP. This only covers - general information about getting started with FOP and pointers to more - information. - </p> - <p> - For up to date information or more details please visit the Fop FAQ site. - The site uses Jyve to provide an interactive FAQ: - <jump href="http://www.owal.co.uk:8090/asf/servlet/asf/screen/DisplayTopics/action/SetAll/project_id/18/faq_id/276">http://www.OWAL.co.uk:8090/</jump> - </p> - </s2> - <s2 title="Questions"> - <ul> - <li><jump href="#q1">What is FOP?</jump></li> - <li><jump href="#q2">How does FOP interact with other Apache Projects?</jump></li> - <li><jump href="#q3">What is XSL (FO)?</jump></li> - <li><jump href="#q4">What can I do with FOP?</jump></li> - <li><jump href="#q5">How can I contribute?</jump></li> - <li><jump href="#q6">How do I author XSL documents?</jump></li> - <li><jump href="#q7">How can I see a demo?</jump></li> - </ul> - </s2> - <s2 title="Answers"> - <s3 title="What is FOP"> -<anchor name="q1"></anchor> - <p> - FOP is a print formatter for XSL formatting objects. - </p> - <p> - It can be used to render an XML file containing XSL formatting objects - into a page layout. The main target is PDF but other rendering targets - are supported, such as AWT, PCL, text and direct printing. - </p> - </s3> - <s3 title="How does FOP interact with other Apache Projects?"> -<anchor name="q2"></anchor> - <p> - FOP is distributed with <jump href="http://xml.apache.org/cocoon">Cocoon</jump> as a PDF serializer for XSL (FO) documents. - </p> - <p> - <jump href="http://xml.apache.org/batik">Batik</jump> can be used with FOP to <jump href="http://xml.apache.org/batik/svgrasterizer.html">transcode an SVG image</jump> into a PDF document. - The mime type for PDF is "application/pdf". - </p> - </s3> - <s3 title="What is XSL (FO)"> -<anchor name="q3"></anchor> - <p> - </p> - </s3> - <s3 title="What can I do with FOP"> -<anchor name="q4"></anchor> - <p> - </p> - </s3> - <s3 title="How can I contribute"> -<anchor name="q5"></anchor> - <p> - </p> - </s3> - <s3 title="How do I author XSL documents"> -<anchor name="q6"></anchor> - <p> - </p> - </s3> - <s3 title="How can I see a demo"> -<anchor name="q7"></anchor> - <p> - There will be a Java Webstart demo sometime in the future. - </p> - </s3> - </s2> - -</s1> - diff --git a/docs/xml-docs/fop/fonts.xml b/docs/xml-docs/fop/fonts.xml deleted file mode 100644 index 2e8832e65..000000000 --- a/docs/xml-docs/fop/fonts.xml +++ /dev/null @@ -1,104 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!-- Font Support --> -<!-- Authors: Jeremias Maerki, Tore Engvig--> -<s1 title="Font Support "> - <s2 title="Status"> - <p>FOP (building PDF files) normally supports only the base 14 font package defined in the Adobe PDF specification. - That includes the following fonts: Helvetica, Times, Courier, Symbol and ZapfDingbats. - </p> - <p>Font support in FOP can be extended by the addition of font metric files (written in XML) created from Adobe - Type 1 fonts and Truetype fonts. No other font types (Type 3, etc.) are supported at this time. - </p> - </s2> - <s2 title="Adding additional Type 1 fonts"> - <p>As mentioned above you need an XML file containing font metrics to be able to use an additional font. FOP - contains a tool that can generate such a font metrics file from a PFM file, which normally comes with the font file. - </p> - <s3 title="Generating a font metrics file"> - <p> Run the class org.apache.fop.fonts.apps.PFMReader to generate the XML file. - </p> - <p> - <code>java -cp fop.jar;xerces.jar;xalan.jar;batik.jar</code> - </p> - <p> - <code>org.apache.fop.fonts.apps.PFMReader pfm-file xml-file</code> - </p> - <p>Note: The tool will construct some values (FontBBox, StemV and ItalicAngle) based on assumptions and - calculations which are only an approximation to the real values. FontBBox and Italic Angle can be found in - the human-readable part of the PFB file. The PFMReader tool does not yet interpret PFB files, so if you want - to be correct, you may have to adjust the values in the XML file manually. The constructed values however - appear to have no visible influence. - </p> - </s3> - <s3 title="Register the fonts within FOP"> - <p> - Edit conf/userconfig.xml and add entries for the font - if the fonts section, - ie: - </p> - <p> - <code> -<font metrics-file="cyberbit.xml" kerning="yes" embed-file="C:\WINNT\Fonts\Cyberbit.ttf"> - <font-triplet name="Cyberbit" style="normal" weight="normal"> -</font> -</code> -</p> - </s3> - </s2> - <s2 title="Adding additional TrueType"> - <p>Adding Truetype fonts is almost identical to the process of - adding type 1 fonts. The main difference is in the first - step.</p> - - <s3 title="Generating a font metrics file"> - <p>As mentioned above you need an XML file containing font - metrics to be able to use an additional font. FOP contains - a tool that can generate such a font metrics file from - your truetype font file. - </p> - <p> - Create metrics for the fontfile (we assume the file has - the name cmr10.ttf and exists in c:\myfonts\): - </p> - <p> - <code>java org.apache.fop.fonts.apps.TTFReader C:\myfonts\cmr10.ttf C:\myfonts\cmr10.ttf ttfcm.xml</code></p> - </s3> - <s3 title="TrueType collections"> - <p> - TrueType collections (.ttc files) contains more than one - font. To create metrics for a ttc file you must specify - the font in the collection with the -ttcname option to - TTFReader. - </p> - <p> - To get a list of the fonts in a collection, just start the - TTFReader as if it were a normal truetype file (without - the -ttcname option). It will then display all the font - names and exit with an Exception... - </p> - <p> - Example on generating metrics for a .ttc file: - </p> - <p> - <code> - java org.apache.fop.fonts.apps.TTFReader -ttcname "MS Mincho" msmincho.ttc msminch.xml - </code> - </p> - </s3> - - <s3 title="Register the fonts within FOP"> - <p> - Same as for Type 1 fonts. - </p> - </s3> - - <s3 title="Embedding fonts"> - <p> - Font embedding is enabled in the userconfig.xml file. - </p> - </s3> - </s2> - <p> - Remember to start fop with -c conf/userconfig.xml - </p> -</s1> diff --git a/docs/xml-docs/fop/implemented.xml b/docs/xml-docs/fop/implemented.xml deleted file mode 100644 index 3de5b5233..000000000 --- a/docs/xml-docs/fop/implemented.xml +++ /dev/null @@ -1,237 +0,0 @@ -<?xml version="1.0" standalone="no"?> - - -<!-- What's Implemented? --> - -<s1 title="Features"> - <s2 title="What's Implemented?"> - <p>The following formatting objects and properties of the xsl-fo - candidate recommendation are implemented.Please have also a look at the - section on <jump href="limitations.html">limitations</jump> - </p> - </s2> - <s2 title="1) Formatting Objects"> - <p>This section follows the table "B Formatting Object Summary" in the xsl:fo specification. At the - end of each sub-section you find listed what is not implemented.</p> - - <s3 title="B.1 Declaration and Pagination and Layout Formatting Objects"> - <ul> - <li>root</li> - <li>page-sequence </li> - <li>page-sequence-master</li> - <li>single-page-master-reference</li> - <li>repeatable-page-master-reference</li> - <li>repeatable-page-master-alternatives</li> - <li>conditional-page-master-reference</li> - <li>layout-master-set </li> - <li>simple-page-master </li> - <li>region-body </li> - <li>region-before </li> - <li>region-after </li> - <li>region-start</li> - <li>region-end</li> - <li>flow</li> - <li>static-content </li> - </ul> - <p>Not implemented: declarations, color-profile, title</p> - </s3> - - <s3 title="B.2 Block Formatting Objects"> - <ul> - <li>block </li> - </ul> - <p>Not implemented: block-container</p> - </s3> - - <s3 title="B.3 Inline Formatting Objects"> - <ul> - <li>character</li> - <li>external-graphic</li> - <li>inline</li> - <li>instream-foreign-object</li> - <li>leader</li> - <li>page-number </li> - <li>page-number-citation, see <jump href="limitations.html">limitations</jump></li> - </ul> - <p>Not implemented: bidi-override, initial-property-set, inline-container</p> - </s3> - - <s3 title="B.4 Table Formatting Objects"> - <ul> - <li>table </li> - <li>table-body</li> - <li>table-cell</li> - <li>table-column</li> - <li>table-footer</li> - <li>table-header</li> - <li>table-row</li> - </ul> - <p>Not implemented: table-and-caption, table-caption </p> - </s3> - - <s3 title="B.5 List Formatting Objects"> - <ul> - <li>list-block </li> - <li>list-item </li> - <li>list-item-body </li> - <li>list-item-label </li> - </ul> - </s3> - - <s3 title="B.6 Link and Multi Formatting Objects"> - <ul> - <li>basic-link (internal and external)</li> - </ul> - <p>Not implemented: multi-switch, multi-case, multi-toggle, - multi-properties, multi-property-set</p> - </s3> - - <s3 title="B.7 Out-of-line Formatting Objects"> - <ul> - <li>footnote</li> - <li>footnote-body</li> - </ul> - <p>Not implemented: float</p> - </s3> - - <s3 title="B.8 Other Formatting Objects"> - <ul> - <li>wrapper</li> - </ul> - <p>Not implemented: marker, retrieve-marker</p> - </s3> - </s2> - - -border and padding shorthand properties - - <s2 title="2) Properties"> - <p>Property values can be computed. Compound properties are also understood by Fop.</p> - <ul> - <li>background-color </li> - <li>blank-or-not-blank</li> - <li>border-after-color</li> - <li>border-after-style</li> - <li>border-after-width</li> - <li>border-before-color</li> - <li>border-before-style</li> - <li>border-before-width</li> - <li>border-bottom</li> - <li>border-bottom-color</li> - <li>border-bottom-style</li> - <li>border-bottom-width</li> - <li>border-color (only one value allowed) </li> - <li>border-end-color</li> - <li>border-end-style</li> - <li>border-end-width</li> - <li>border-left</li> - <li>border-left-color</li> - <li>border-left-style</li> - <li>border-left-width</li> - <li>border-right</li> - <li>border-right-color</li> - <li>border-right-style</li> - <li>border-right-width</li> - <li>border-start-color</li> - <li>border-start-style</li> - <li>border-start-width</li> - <li>border-style</li> - <li>border-top</li> - <li>border-top-color</li> - <li>border-top-style</li> - <li>border-top-width</li> - <li>border-width</li> - <li>bottom</li> - <li>break-after </li> - <li>break-before </li> - <li>character</li> - <li>color </li> - <li>column-count</li> - <li>column-gap</li> - <li>column-width </li> - <li>country</li> - <li>end-indent </li> - <li>extent </li> - <li>external-destination</li> - <li>flow-name </li> - <li>font-family </li> - <li>font-size </li> - <li>font-style </li> - <li>font-weight </li> - <li>height</li> - <li>hyphenate</li> - <li>hyphenation-character</li> - <li>hyphenation-push-character-count</li> - <li>hyphenation-remain-character-count</li> - <li>id</li> - <li>initial-page-number</li> - <li>internal-destination</li> - <li>keep-with-next (broken)</li> - <li>language</li> - <li>leader-alignment (not value "page")</li> - <li>leader-length (see limitations)</li> - <li>leader-pattern (not value "use-content")</li> - <li>leader-pattern-width</li> - <li>left</li> - <li>line-height </li> - <li>margin-bottom (only on pages and regions) </li> - <li>margin-left (only on pages and regions) </li> - <li>margin-right (only on pages and regions) </li> - <li>margin-top (only on pages and regions) </li> - <li>master-name </li> - <li>maximum-repeats</li> - <li>number-columns-spanned</li> - <li>odd-or-even</li> - <li>padding (only one value allowed) </li> - <li>padding-after</li> - <li>padding-before</li> - <li>padding-bottom </li> - <li>padding-end</li> - <li>padding-left </li> - <li>padding-right </li> - <li>padding-start</li> - <li>padding-top </li> - <li>page-height </li> - <li>page-position</li> - <li>page-width </li> - <li>position (allowed values: "static" (default),"relative", "absolute", fixed ) </li> - <li>provisional-distance-between-starts </li> - <li>provisional-label-separation </li> - <li>ref-id </li> - <li>region-name</li> - <li>right</li> - <li>rule-style</li> - <li>rule-thickness </li> - <li>space-after.optimum </li> - <li>space-before.optimum </li> - <li>span</li> - <li>src </li> - <li>start-indent </li> - <li>table-omit-footer-at-break</li> - <li>table-omit-header-at-break</li> - <li>text-align </li> - <li>text-align-last </li> - <li>text-decoration</li> - <li>text-indent </li> - <li>top</li> - <li>white-space-collapse</li> - <li>width</li> - <li>wrap-option</li> - </ul> - <p>All other properties are not implemented.</p> - </s2> - - <s2 title="3)SVG Support"> -<p> -FOP uses <jump href="http://xml.apache.org/batik/">Batik</jump> directly for its SVG support. Therefore FOP supports the same -elements and properties as are supported by Batik. As FOP is designed for -rendering to a static medium then only static SVG is rendered. -</p> -<p> -Due to some limitations in PDF some SVG images, particularly ones with effects -or transparency, may not come out correctly. The images should still be rendered -correctly for the AWT and Print renderers. -</p> - </s2> -</s1> - diff --git a/docs/xml-docs/fop/involved.xml b/docs/xml-docs/fop/involved.xml deleted file mode 100644 index 1d645268d..000000000 --- a/docs/xml-docs/fop/involved.xml +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" standalone="no"?> - - - -<!-- getting involved --> - -<s1 title="Getting involved"> -<!-- <p>Our main website <jump href="http://xml.apache.org/overview.html">xml.apache.org</jump> - has a detailed description how to get involved. </p> The following is just a brief outline - containing the addresses concerning Fop.</p>--> - <s2 title="Read the Status file"> - <p>The Status file contains the list of features people are working on at the moment. - And an outline what steps are next.</p> - </s2> - <s2 title="Subscribe to the fop discussion list"> - <p>You can subscribe to fop-dev@xml.apache.org by sending an email - to <jump href="mailto:fop-dev-subscribe@xml.apache.org">fop-dev-subscribe@xml.apache.org</jump></p> - <p>Sending bug reports and feature requests to the list is a welcome and important contribution to - developing Fop. </p> - <p>Read also the <jump href="http://marc.theaimsgroup.com/?l=fop-dev&r=1&w=2">archive</jump> - of the discussion list fop-dev to get an idea of the issues being discussed. </p> - </s2> - <s2 title="Look at the developer's code using cvs"> - <p>Between releases the newest code can be accessed via cvs. To do this you need to install a cvs - client on your computer, if it is not already there. An explanation how to connect to the - Fop source repository can be found at <jump href="http://xml.apache.org/cvs.html">http://xml.apache.org/cvs.html</jump>. - An introduction into cvs and the cvs manual can be found in the - <jump href="http://xml.apache.org/library.html">reference library</jump>.</p> - <p>All changes to the code repository are annonced in a special discussion group. You can subscribe - to fop-cvs@xml.apache.org by sending an email to <jump href="mailto:fop-cvs-subscribe@xml.apache.org"> - fop-cvs-subscribe@xml.apache.org</jump>. If you want to contribute to the development of Fop you should subscribe, - because it is important that you follow changes being made. </p> - </s2> - <s2 title="Contributing code, tests and documentation"> - <p>If you want to contribute code (p.e. a bugfix), a test or documentation (p.e. an additional example), please do the following: </p> - <p>1) Make sure your code doesn't break the existing one and that Fop still compiles.</p> - <p>2) Create a file which shows the differences to the existing code.</p> - <p>3) Send this file to <jump href="mailto:fop-dev@xml.apache.org">fop-dev@xml.apache.org.</jump></p> - <p>One of the committers will test your code and commit it to the code repository.</p> - <p>If you have a test or useful bug test you should <jump href="testing.html">read this page</jump>.</p> - <p>BTW: The Apache project knows different roles for contributors, namely 'users', 'developers', 'committers' and the 'Project - Management Committee' (An explanation of these roles can be found <jump href="http://xml.apache.org/roles.html">here</jump>).</p> - </s2> - <s2 title="Get familiar with the Fop related standards"> - <p>At the moment Fop is mainly a tool to render XSL:FO files to pdf. Therefore if you want to contribute to Fop you should become - familiar with these standards. You can find their internet addresses on our <jump href="specs.html">website</jump>.</p> - </s2> - <s2 title="Fop's architecture"> - <p>A bird's eye view on the way Fop operates can be found in the document <jump href="architecture.html">FOP Mechanics</jump></p> - <p>If you want to extend the functionality of FOP by adding new formatting objects, you should do the following: </p> - <p>1. FO Object: Write a class which contains the description of your formatting object and put it into the package fop.fo.flow, fop.fo.pagination (if it is a property it goes to fop.fo.properties. The classes in this package are generated via an xslt stylesheet located in codegen/properties.xml)</p> - <p>2. Element Mapping: Add it to the list in fop.fo.StandardElementMapping (if it is a property you need to add it to fop.fo.PropertyListBuilder)</p> - <p>3. Area: Either your need can be fulfilled within one of the existing classes in fop.layout, then just add the code to handle the new fo/property or you must write a new one.</p> - <p>4. Renderer: Choose the renderer you are interested in. If you worked on an existing layout class you must add code to handle the new features to the already existing area specific method in the renderer class. Otherwise you have to add a new method. </p> - </s2> -</s1> diff --git a/docs/xml-docs/fop/layout.jpg b/docs/xml-docs/fop/layout.jpg Binary files differdeleted file mode 100644 index 3c519baa2..000000000 --- a/docs/xml-docs/fop/layout.jpg +++ /dev/null diff --git a/docs/xml-docs/fop/license.xml b/docs/xml-docs/fop/license.xml deleted file mode 100644 index 7d184fdef..000000000 --- a/docs/xml-docs/fop/license.xml +++ /dev/null @@ -1,57 +0,0 @@ -<?xml version="1.0" standalone="no"?> - - -<!-- License --> - -<s1 title="License"> - <s2 title="The Apache Software License, Version 1.1"> - <p> Copyright (C) 1999-2001 The Apache Software Foundation. All rights reserved.</p> - <p> Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met:</p> - <p>1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - </p> - - <p>2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - </p> - - <p>3. The end-user documentation included with the redistribution, if any, must - include the following acknowledgment: "This product includes software - developed by the Apache Software Foundation (http://www.apache.org/)." - Alternately, this acknowledgment may appear in the software itself, if - and wherever such third-party acknowledgments normally appear. - </p> - - <p>4. The names "FOP" and "Apache Software Foundation" must not be used to - endorse or promote products derived from this software without prior - written permission. For written permission, please contact - apache@apache.org. - </p> - - <p>5. Products derived from this software may not be called "Apache", nor may - "Apache" appear in their name, without prior written permission of the - Apache Software Foundation. - </p> - <p>THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, - INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- - DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - </p> - - <p> - This software consists of voluntary contributions made by many individuals - on behalf of the Apache Software Foundation and was originally created by - James Tauber <jtauber@jtauber.com>. For more information on the Apache - Software Foundation, please see <jump href="http://www.apache.org/">http://www.apache.org/</jump>. - </p> - </s2> -</s1> - diff --git a/docs/xml-docs/fop/limitations.xml b/docs/xml-docs/fop/limitations.xml deleted file mode 100644 index c2220c3be..000000000 --- a/docs/xml-docs/fop/limitations.xml +++ /dev/null @@ -1,71 +0,0 @@ -<?xml version="1.0"?> - - - -<!-- Limitations --> - -<s1 title="Limitations"> - <p>FOP implements the fo objects and properties listed - in <jump href="implemented.html">features</jump>, sometimes it does so only in a limited way. - </p> - - <s2 title="fo:leader"> - <p>leader-length.minimum is not used at all</p> - </s2> - - <s2 title="page-number-citation"> - <p>Only works for table of contents without any problems. The case where the page number doesn't - fit on a line isn't handled, and any text on the same line and after the page-number might not - appear exactly where you want it to. - </p> - </s2> - - <s2 title="Padding"> - <p>Padding works in conjunction with indents and spaces. It is only implemented - for blocks. At the moment padding can't be used to make extra space (indents+spaces - must be used), but only to control how much the background-color extends beyond - the content rectangle. - </p> - </s2> - <s2 title="Tables"> - <p>There two limitations for tables: 1) FOP needs you to explicitly specify column widths - 2) Cells have to contain block-level FOs. They can't contain straight character data. - </p> - <p>A working basic example of a table looks like this: </p> -<p> - <source><![CDATA[ -<fo:table> - <fo:table-column column-width="150pt"/> - <fo:table-column column-width="150pt"/> - <fo:table-body font-size="10pt" font-family="sans-serif"> - <fo:table-row> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - </fo:table-row> - </fo:table-body> -</fo:table>]]></source> -</p> - </s2> - - -</s1> diff --git a/docs/xml-docs/fop/properties.xml b/docs/xml-docs/fop/properties.xml deleted file mode 100644 index 4b4251111..000000000 --- a/docs/xml-docs/fop/properties.xml +++ /dev/null @@ -1,250 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- $Id$ --> -<!-- - Authors: - Karen Lease ---> - -<!-- New properties.xml overview --> - -<s1 title="Properties"> - <s2 title="Property datatypes"> -<p>The property datatypes are defined in the -org.apache.fop.datatypes package, except Number and String which are java -primitives. The FOP datatypes are:</p> -<ul> -<li>Number</li> -<li>String</li> -<li>ColorType</li> -<li>Length (has several subclasses)</li> -<li>CondLength (compound)</li> -<li>LengthRange (compound)</li> -<li>Space (compound)</li> -<li>Keep (compound)</li> -</ul> -<p>The <em>org.apache.fop.fo.Property</em> class is the superclass for all -Property subclasses. There is a subclass for each kind of property -datatype. These are named using the datatype name plus the word -Property, resulting in NumberProperty, StringProperty, and so -on. There is also a class EnumProperty which uses an <code>int</code> -primitive to hold enumerated values. There is no corresponding Enum -datatype class.</p> -<p>The Property class provides a "wrapper" around any possible -property value. Code manipulating property values (in layout for -example) usually knows what kind (or kinds) of datatypes are -acceptable for a given property and will use the appropriate accessor.</p> -<p>The base Property class defines accessor methods for all FO property -datatypes, such as getNumber(), getColorType(), getSpace(), getEnum(), -etc. It doesn't define -accessors for SVG types, since these are handled separately (at least -for now.) In the base Property class, all of these methods return -null, except getEnum which returns 0. Individual subclasses return a value of the appropriate type, -such as Length or ColorType. A subclass may also choose to return a -reasonable value for other accessor types. For example, a -SpaceProperty will return the optimum value if asked for a Length.</p> - </s2> - - <s2 title="Property Makers"> -<p>The Property class contains a nested class called -<em>Maker</em>. This is the base class for all other property Makers. It -provides basic framework functionality which is overridden by the -code generated by properties.xsl from the *properties.xml files. In -particular it provides basic expression evaluation, using -PropertyParser class in the org.apache.fop.fo.expr package.</p> -<p>Other Property subclasses such as LengthProperty define their own -nested Maker classes (subclasses of Property.Maker). These handle -conversion from the Property subclass returned from expression -evaluation into the appropriate subclass for the property.</p> -<p>For each generic or specific property definition in the -properties.xml files, a new subclass of one of the Maker classes is -created. Note that no new Property subclasses are created, only new -PropertyMaker subclasses. Once the property value has been parsed and -stored, it has no specific functionality. Only the Maker code is -specific. Maker subclasses define such aspects as keyword -substitutions, whether the property can be inherited or not, which -enumerated values are legal, default values, corresponding properties -and specific datatype conversions.</p> -</s2> - <s2 title="XML property specification format"> - <s3 title="Generic properties"> -<p>In the properties xml files, one can define generic property -definitions which can serve as a basis for individual property -definitions. There are currently several generic properties defined in -foproperties.xml. An example is GenericColor, which defines basic properties -for all ColorType properties. Since the generic specification doesn't include -the inherited or default elements, these should be set in each property -which is based on GenericColor. Here is an example:</p> -<p> -<code> - <property type='generic'> - <name>background-color</name> - <use-generic>GenericColor</use-generic> - <inherited>false</inherited> - <default>transparent</default> - </property> -</code></p> -<p>A generic property specification can include all of the elements -defined for the property element in the DTD, including the description -of components for compound properties, and the specification of -keyword shorthands.</p> - -<p>Generic property specifications can be based on other generic -specifications. -An example is GenericCondPadding template which is based on the -GenericCondLength definition but which extends it by adding an inherited -element and a default value for the length component.</p> -<p> -Generic properties can specify enumerated values, as in the -GenericBorderStyle template. This means that the list of values, which -is used by 8 properties (the "absolute" and "writing-mode-relative" -variants for each BorderStyle property) is only specified one time.</p> -<p> -When a property includes a "use-generic" element and includes no other -elements (except the "name" element), then no class is generated for the -property. Instead the generated mapping will associate this -property directly with an instance of the generic Maker.</p> -<p> -A generic class may also be hand-coded, rather than generated from the -properties file. -Properties based on such a generic class are indicated by the -attribute <code>ispropclass='true'</code> on the -<em>use-generic</em> element.</p> -<p> This is illustrated by the SVG properties, most of -which use one of the Property subclasses defined in the -<em>org.apache.fop.svg</em> -package. Although all of these properties are now declared in -svgproperties.xml, no specific classes are generated. Classes are only -generated for those SVG properties which are not based on generic -classes defined in svg.</p> - </s3> - <s3 title="Element-specific properties"> -<p>Properties may be defined for all flow objects or only for -particular flow objects. A PropertyListBuilder object will always look -first for a Property.Maker for the flow object before looking in the -general list. These are specified in the -<code>element-property-list</code> section of the properties.xml -files. The <code>localname</code> element children of this element specify for -which flow-object elements the property should be registered.</p> -<p><em>NOTE</em>: All the properties for an object or set of objects -must be specified in a single element-property-list element. If the -same localname appears in several element lists, the later set of -properties will hide the earlier ones! Use the <em>ref</em> -functionality if the same property is to be used in different sets of -element-specific mappings. -</p> - </s3> - <s3 title="Reference properties"> - <p>A property element may have a type attribute with the value - <code>ref</code>. The - content of the <em>name</em> child element is the name of the referenced - property (not its class-name!). This indicates that the property - specification has - already been given, either in this same specification file or in a - different one (indicated by the <code>family</code> attribute). The - value of the family attribute is <em>XX</em> where the file - <em>XXproperties.xml</em> defines the referenced property. For - example, some SVG objects may have properties defined for FO. Rather - than defining them again with a new name, the SVG properties simply - reference the defined FO properties. The generating mapping for the - SVG properties will use the FO Maker classes.</p> - </s3> - <s3 title="Corresponding properties"> -<p>Some properties have both <em>absolute</em> and -<em>writing-mode-relative</em> forms. In general, the absolute forms -are equivalent to CSS properties, and the writing-mode-relative forms -are based on DSSSL. FO files may use either or both forms. In -FOP code, a request for an absolute form will retrieve that value if it -was specified on the FO; otherwise the corresponding relative property -will be used if it was specified. However, a request for a relative -form will only use the specified relative value if the corresponding -absolute value was <em>not</em> specified for that FO. -</p> -<p>Corresponding properties are specified in the properties.xml files -using the element <code>corresponding</code>, which has at least one -<code>propval</code> child and may have a <code>propexpr</code> child, -if the corresponding -value is calculated based on several other properties, as for -<code>start-indent</code>. -</p> -<p><em>NOTE</em>: most current FOP code accesses the absolute variants -of these properties, notably for padding, border, height and width -attributes. However it does use start-indent and end-indent, rather -than the "absolute" margin properties. -</p> -</s3> - </s2> - - <s2 title="Mapping"> -<p>The XSL script <code>propmap.xsl</code> is used to generate -property mappings based on -both foproperties.xml and svgproperties.xml. The mapping classes -in the main fop packages simply load these automatically generated -mappings. The mapping code still uses the static -"maker" function of the generated object to obtain a Maker -object. However, for all generated classes, this method returns an -instance of the class itself (which is a subclass of Property.Maker) -and not an instance of a separate nested Maker class.</p> -<p>For most SVG properties which use the SVG Property classes directly, -the generated mapper code calls the "maker" method of the SVG Property -class, which returns an instance of its nested Maker class.</p> -<p>The property generation also handles element-specific property -mappings as specified in the properties XML files.</p> - </s2> - - <s2 title="Enumerated values"> -<p>For any property whose datatype is <code>Enum</code> or which -contains possible enumerated values, FOP code may need to access -enumeration constants. These are defined in the interfaces whose name -is the same as the generated class name for the property, -for example <code>BorderBeforeStyle.NONE</code>. These interface classes -are generated by the XSL script <code>enumgen.xsl</code>. A separate -interface defining the enumeration constants is always generated for -every property which uses the constants, even if the constants -themselves are defined in a generic class, as in BorderStyle.</p> -<p>If a subproperty or component of a compound property has enumerated -values, the constants are defined in a nested interface whose name is -the name of the subproperty (using appropriate capitalization -rules). For example, -the keep properties may have values of AUTO or FORCE or an integer -value. These are defined for each kind of keep property. For example, -the keep-together property is a compound property with the components -within-line, within-column and within-page. Since each component may -have the values AUTO or FORCE, the KeepTogether interface defines -three nested interfaces, one for each component, and each defines -these two constants. An example of a reference in code to the constant -is <code>KeepTogether.WithinPage.AUTO</code>.</p> - - </s2> - - <s2 title="Compound property types"> -<p>Some XSL FO properties are specified by compound datatypes. In the FO file, -these are defined by a group of attributes, each having a name of the -form <code>property.component</code>, for example -<code>space-before.minimum</code>. These are several compound -datatypes:</p> -<ul> -<li>LengthConditional, with components length and conditionality</li> -<li>LengthRange, with components minimum, optimum, and maximum</li> -<li>Space, with components minimum, optimum, maximum, precedence and -conditionality </li> -<li>Keep, with components within-line, within-column and within-page</li> -</ul> -<p>These are described in the properties.xml files using the element -<code>compound</code> which has <code>subproperty</code> children. A subproperty element is much -like a property element, although it may not have an <code>inherited</code> child -element, as only a complete property object may be inherited. -</p> -<p>Specific datatype classes exist for each compound property. Each -component of a compound datatype is itself stored as a Property -object. Individual components may be accessed either by directly -performing a get operation on the name, using the "dot" notation, -eg. <code>get("space-before.optimum")</code>; or by using an accessor on the compound -property, eg. <code>get("space-before").getOptimum()</code>. -In either case, -the result is a Property object, and the actual value may be accessed -(in this example) by using the "getLength()" accessor. -</p> - </s2> -</s1> - diff --git a/docs/xml-docs/fop/readme.xml b/docs/xml-docs/fop/readme.xml deleted file mode 100644 index bc7cbc57d..000000000 --- a/docs/xml-docs/fop/readme.xml +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" standalone="no"?> - -<!-- Overview --> - -<document> - <header> - <title>FOP</title> - <subtitle>XSL Formatter - Renderer in Java</subtitle> - <authors> - </authors> - </header> - - <body> -<s1 title="FOP"> -<p> - <figure src="title.jpg" alt="FOP Title" /> -</p> - <p>FOP is the world's first print formatter driven by XSL formatting - objects. It is a Java application that reads a formatting object - tree and then renders the resulting pages to a specified output. - The primary output target is PDF. - </p> -<p> - <figure src="document.jpg" alt="Render Diagram" /> -</p> - <p>The latest version of Fop is 0.20.2 and it supports the xsl:fo candidate release. - You can <jump href="download.html">download</jump> - Fop including a precompiled version, the source code and many example files to - get you started. Pointers to introductions into xsl:fo can be found in the - <jump href="resources.html">resources</jump> section. Please be aware, that - Fop is at the moment not a full implementation of the basic conformance level - of the xsl:fo standard. You can find a list of supported flow objects and properties - in the section <jump href="implemented.html">Features</jump> and in section - <jump href="limitations.html">Limitations</jump> in what way this support is - limited. - </p> - <p>FOP is part of Apache's XML project. The homepage of FOP is - <jump href="http://xml.apache.org/fop">http://xml.apache.org/fop</jump>. -Here you can find information about using and developing with FOP. - </p> - </s1> - - <s1 title="Formatting"> -<p> - <figure src="layout.jpg" alt="Formatting Diagram" /> -</p> -<p> -This image is a demonstration of a two page document. The xml data on the left -is formatted into the two pages on the right. The document contains static areas -that appear on every page, an external graphic in this case an svg document. -There is a footnote on the first page and a table that goes across both pages. -</p> -<p> -The advantage of XSL is the ability to take an XML document and to format -the information into a page layout. The XML document can be generated -in any way, the most common would be to use XSLT. FOP takes the XML -and formats the data into pages. The pages are then rendered to the -requested output. -</p> -<p> -This is a real document. The image was created by rendering the document -to the svg renderer then putting the rendered pages into an svg document -along with the xml. -</p> - </s1> - <s1 title="FOP Objectives"> - <p>The goals of the Apache XML FOP Project are to deliver an XSL FO->PDF formatter that is compliant to at least the Basic - conformance level described in the W3C Candidate Recommendation 21 November 2000, and that complies with the 11 March 1999 Portable Document - Format Specification (Version 1.3) from Adobe Systems. - </p> - - <p>Conformance to the XML 1.0 Recommendation, XSLT 1.0 Recommendation and the XML Namespaces Recommendation is - understood. Other relevant documents, such as the XPath and XLink Working Drafts, are referenced as necessary. The FOP - Project will attempt to use the latest version of evolving specifications. - </p> - - <p>To reach this aim currently the layout system is being redesigned to -better handle the formatting of all different types of formatting objects. - </p> - </s1> - - </body> -</document> - diff --git a/docs/xml-docs/fop/resources.xml b/docs/xml-docs/fop/resources.xml deleted file mode 100644 index 03214711c..000000000 --- a/docs/xml-docs/fop/resources.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" standalone="no"?> - - -<!-- FOP Relevant Specifications and links --> - -<s1 title="FOP Relevant Specifications and Links"> - <s2 title="Specifications"> - <ul> - <li><jump href="http://www.w3.org/TR/2000/CR-xsl-20001121/">XSL-FO Candidate Recommendation (21 November 2000)</jump></li> - <li><jump href="http://www.renderx.com/Tests/validator/fo2000.dtd.html">A dtd for the XSL-FO CR from November provided by N. Grigoriev from RenderX</jump></li> - <li><jump href="http://www.w3.org/TR/2000/CR-SVG-20001102/">Supported SVG Candidate Recommendation (02 November 2000)</jump></li> - <li><jump href="http://www.w3.org/TR/REC-xml">XML Recommendation</jump></li> - <li><jump href="http://www.w3.org/TR/xslt">XSLT Recommendation</jump></li> - <li><jump href="http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf">Portable Document Format (PDF) 1.3 Reference Manual </jump></li> - <li><jump href="http://www.megginson.com/SAX/">Simple API for XML (SAX)</jump></li> - <li><jump href="http://www.w3.org/TR/REC-DOM-Level-1">Document Object Model (DOM)</jump></li> - <li><jump href="http://www.w3.org/TR/REC-xml-names/">Namespaces in XML Recommendation</jump></li> - <li><jump href="http://java.sun.com/products/jdk/1.1/docs/index.html">Java JDK 1.1 Documentation</jump></li> - </ul> - </s2> - <s2 title="Tutorials/Articles"> - <ul> - <li><jump href="http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html">Elliotte Rusty Harold: Chapter 18 on xsl:fo from his excellent book XML Bible, Second Edition</jump></li> - <li><jump href="http://www.sun.com/software/xml/developers/slides-dtd/">Paul Sandoz: Using formatting objects with the slides dtd</jump></li> - <li><jump href="http://www.xml.com/pub/a/2001/01/17/xsl-fo/index.html">J. David Eisenberg: Using XSL Formatting Objects</jump></li> - <li><jump href="http://zvon.org/xxl/xslfoReference/Output/index.html">Miloslav Nic: XSL FO reference</jump></li> - </ul> - </s2> - <s2 title="Other resources"> - <ul> - <li><jump href="http://xml.apache.org/mail/fop-dev/">Apache archive of fop-dev@apache.org</jump></li> - <li><jump href="http://marc.theaimsgroup.com/">External, but easier to browse archive fop-dev@apache.org</jump></li> - <li>There is an xsl:fo mailing list: www-xsl-fo@w3.org. Subscription info can be found here: <jump href="http://www.w3.org/Mail/Request"> - http://www.w3.org/Mail/Request</jump>. And the archive can be found here: - <jump href="http://lists.w3.org/Archives/Public/www-xsl-fo/">http://lists.w3.org/Archives/Public/www-xsl-fo/</jump></li> - </ul> - </s2> -</s1> - - diff --git a/docs/xml-docs/fop/running.xml b/docs/xml-docs/fop/running.xml deleted file mode 100644 index 1e1fa7965..000000000 --- a/docs/xml-docs/fop/running.xml +++ /dev/null @@ -1,79 +0,0 @@ -<?xml version="1.0" standalone="no"?> - - -<!-- Running FOP --> - -<s1 title="Running FOP"> - <s2 title="Prerequisites"> - <p>Following software must be installed:</p> - <p>a) Java 1.2.x or later</p> - <p>b) All libraries you need are part of the Fop distribution and - can be found in the xml-fop/lib directory. Look at the batch/shell script fop.bat/fop.sh - to see, how Fop can be invoked easily. These libraries are included: - <ul> - <li>An XML parser which supports SAX and DOM like - <jump href="http://xml.apache.org/xerces-j/index.html">Xerces-J</jump>. - (Xerces is the default xml parser) - </li> - <li>An XSLT processor - </li> - <li>The SVG library batik.jar is the library from the <jump href="http://xml.apache.org/batik/">batik project</jump> at xml.apache.org. - </li> - <li>The imaging library Jimi from Sun - </li> - </ul> - </p> - </s2> - - <s2 title="Starting FOP as an standalone application"> - <p><code>Fop [options] [-fo|-xml] infile [-xsl file] [-awt|-pdf|-mif|-pcl|-txt|-print] <outfile></code></p> - <p>[OPTIONS]<br/> - <source> - -d debug mode<br/> - -x dump configuration settings<br/> - -q quiet mode<br/> - -c cfg.xml use additional configuration file cfg.xml<br/> - -l lang the language to use for user information<br/></source> - </p> - <p>[INPUT]<br/> - <source> - infile xsl:fo input file (the same as the next)<br/> - -fo infile xsl:fo input file<br/> - -xml infile xml input file, must be used together with -xsl<br/> - -xsl stylesheet xslt stylesheet<br/></source> - </p> - - <p>[OUTPUT]<br/> - <source> - outfile input will be rendered as pdf file into outfile<br/> - -pdf outfile input will be rendered as pdf file (outfile req'd)<br/> - -awt input will be displayed on screen<br/> - -mif outfile input will be rendered as mif file (outfile req'd)<br/> - -pcl outfile input will be rendered as pcl file (outfile req'd)<br/> - -txt outfile input will be rendered as text file (outfile req'd)<br/> - -print input file will be rendered and sent to the printer<br/> - see options with "-print help"<br/></source> - </p> - - <p>[Examples]<br/> - <source> - Fop foo.fo foo.pdf<br/> - Fop -fo foo.fo -pdf foo.pdf (does the same as the previous line)<br/> - Fop -xsl foo.xsl -xml foo.xml -pdf foo.pdf<br/> - Fop foo.fo -mif foo.mif<br/> - Fop foo.fo -print or Fop -print foo.fo<br/> - Fop foo.fo -awt<br/></source> - </p> - </s2> - - <s2 title="Problems"> - <p>If you have problems running FOP, please have a look at the - <jump href="http://www.owal.co.uk:8090/asf/servlet/asf/screen/DisplayTopics/action/SetAll/project_id/18/faq_id/276">FOP FAQ</jump>. If you don't find a solution there, - you can ask for help on the list fop-dev@xml.apache.org. Maybe it is a bug and - maybe somebody is already working on it. - </p> - </s2> -</s1> - - - diff --git a/docs/xml-docs/fop/svg.xml b/docs/xml-docs/fop/svg.xml deleted file mode 100644 index bbc6e5a0e..000000000 --- a/docs/xml-docs/fop/svg.xml +++ /dev/null @@ -1,75 +0,0 @@ -<?xml version="1.0" standalone="no"?> - -<!-- SVG in FOP --> - -<s1 title="SVG in FOP"> - <s2 title="Introduction"> - <p> -FOP uses the SVG library from <jump href="http://xml.apache.org/batik/">Batik</jump> to handle SVG. -This format can be handled as an <code>fo:instream-foreign-object</code> or in a separate -file referenced with <code>fo:external-graphic</code>. Either way the SVG document will be -read in and converted into a DOM in Batik. This DOM will then be used by the renderer to -create the graphical image. - </p> - <p> -The AWT and Print renderers simply use batik to draw the SVG into a graphic. - </p> - <p> -In the case of the PDF renderer there is a PDFGraphics2D class that Batik uses -to render the image into. This class converts the drawing instructions into -PDF markup which is placed into the current PDF document. - </p> - </s2> - - <s2 title="Converting SVG to a PDF Document"> - <p> -It is possible to convert a standalone SVG document directly into a simple page PDF document. -This is possible through the use of Batik's transcoder mechanism.<br/> -<code>java org.apache.batik.apps.rasterizer.Main -m application/pdf document.svg</code> -<br/> -This will output the svg document as "document.pdf" containing a PDF rendering of -the SVG file. - </p> - <p> -It is also possible to specify the width and/or height of the PDF document on the command line with -w and -h or if you are using the transcoder api you can use the transcoding hints. - </p> - <p> -Currently the SVG image is drawn at the SVG document size and simply scaled in PDF to the new size. So the result may not be the best possible. For example if you have any images or effects it will draw them at the original resolution of the svg document. When this is viewed in the pdf it will have an incorrect resolution for the size of the pdf. -</p> - <p> -The size of the pdf file will also remain the same regardless of what size the page is. - </p> - <p> -For more information see <jump href="http://xml.apache.org/batik/">Batik</jump> for -how transcoders work. - </p> - - <p> -These are the relevant classes, found in the package org.apache.fop.svg : - </p> - <p> -<ul> -<li><em>PDFGraphics2D</em> -<br/> -used for drawing onto a Graphics2D into an existing pdf document, used -internally to draw the svg. -</li> -<li><em>PDFDocumentGraphics2D</em> -<br/> -used to create a pdf document and inherits from PDFGraphics2D to do the -rest of the drawing. Used by the transcoder to create a standalone pdf -document from an svg. Can be used independantly the same as any Graphics2D. -</li> -<li><em>PDFTranscoder</em> -<br/> -used to transcode an svg document into a standalone pdf, via -PDFDocumentGraphics2D. -</li> -</ul> - </p> - - </s2> - - -</s1> - diff --git a/docs/xml-docs/fop/testing.xml b/docs/xml-docs/fop/testing.xml deleted file mode 100644 index be3d62ac2..000000000 --- a/docs/xml-docs/fop/testing.xml +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0" standalone="no"?> - -<!-- Testing FOP --> - -<s1 title="Testing FOP"> - <s2 title="Running and Using Tests"> - <p> -Testing is an important part of getting FOP to operate correctly and conform to the -necessary standards. - </p> - <p> -A testing system has been set up that works with as a build target when developing -with FOP. A developer can run the tests after making changes to the code, the aim -is to have the tests run to verfiy that nothing working has been broken. - </p> - <p> -To setup the testing the developer must place a reference fop.jar in the -"<cvs_repository>/test/reference/" directory. This jar will be dynamically -loaded to create the reference output. - </p> - </s2> - - <s2 title="W3C TestSuite"> - <p> -The testing is set up so that you can download the testsuite from -<jump href="http://www.w3.org/Style/XSL/TestSuite/">http://www.w3.org/Style/XSL/TestSuite/</jump>, -unzip the file into the base directory of FOP. -Then you can uncomment the lines in the build.xml file in the test target and it -will run through all the tests in the testsuite distribution. - </p> - </s2> - - <s2 title="Writing a Test"> - <p> -A test belongs to one of a few catagories. A basic test should excercise one -element in a number of situations such as changing a property. This should have -at least one normal value, one border value and one invalid value. If the property -can be of different types then this should also be included. - </p> - <p> -A bug test is a test that is specifically aimed at a problem with FOP. That is, the test -is not excercising the specification but rather a problem with FOP in handling a particular -situation that is not exposed with the other testing. - </p> - <p> -A system test is one that tests the abitlity of FOP to handle a number of different -elements together. - </p> - <p> -A test can consist of a complete fo document or a part of the document such as -some elements that will be placed into the flow of a standard document. - </p> - - </s2> - <s2 title="Submitting a Test"> - <p> -If you have a test which you think would be useful you should supply the -test and a diff to the appropriate test suite xml file. Make sure that the -test works as would be expected against the current build. - </p> - </s2> - - <s2 title="How Testing Works"> - <p> -The tests are stored in the "<cvs_repository>/test" directory. - </p> - <p> -You can run the tests by specifying the build target "test" ie: <br/> -<code>build.sh test</code> - </p> - <p> -This will then compare the current code in the local src directory to a specified -release of FOP. Any differences between the current code and the output from -the reference version will be reported. If the test previously passed then the -test run will have failed. - </p> - <p> -The testing is done by reading a test suite xml file, which corresponds to the -standard testsuite.dtd supplied from w3c. This xml file contains a test xml -file and an xsl file (which may simply copy the file). It also contains information -such as if the test has passed and any comments. - </p> - <p> -For FOP the testing is done by rendering all the testing documents using the -XML renderer. The XML files are then compared to see if there are any differences. - </p> - </s2> - - <s2 title="SVG Testing"> - <p> -The testing of SVG is not part of this testing system. SVG is tested for its rendering -accuracy by using the transcoding mechanism via Batik. So that the only part that needs -testing is how the SVG image is embedded inside the flow of the fo document. - </p> - </s2> -</s1> - diff --git a/docs/xml-docs/fop/title.jpg b/docs/xml-docs/fop/title.jpg Binary files differdeleted file mode 100644 index f7df45bf1..000000000 --- a/docs/xml-docs/fop/title.jpg +++ /dev/null diff --git a/docs/xml-docs/fop/todo.xml b/docs/xml-docs/fop/todo.xml deleted file mode 100644 index c7940fe3c..000000000 --- a/docs/xml-docs/fop/todo.xml +++ /dev/null @@ -1,141 +0,0 @@ -<?xml version="1.0" standalone="no"?> - -<!-- SVG in FOP --> - -<s1 title="TODO List for FOP"> - <s2 title="FOP TODO"> - <p> -Core Features - these are the areas that are important to getting fop -to be useable for general use. - </p> - <p> -Processing improvements - these are mainly things that can be improved -in the way fop works, eg. resources usage, pdf output etc. - </p> - <p> -Enhancements - these are added functionality that might be useful, no -comment is made about the suitability of these suggestions. - </p> - </s2> - <s2 title="Core Features"> -<s3 title="Layout"> - <p> -This is the crucial part to getting FOP to make it to the next step. - </p> -</s3> -<s3 title="Webstart Demo"> - <p> -a demo using Java Webstart that runs the awt viewer and supports -linking from an index - </p> -</s3> -<s3 title="Website"> - <p> -Need to improve the website to better demonstrate what fop is and -can do. Examples, screenshots, pdf documents. - </p> -</s3> -<s3 title="Property Support"> - <p> -Currently all properties are in the xml file. We need to handle all default -values properly (including ones that change depending on the element) and -all possible values. - </p> - <p> -To see if a property is implemented then look in the src/codegen/foproperties.xml file. - </p> - <p> -To see if a particular element uses this property then look in the element code. This is generally found in the package org.apache.fop.fo.flow.*. - </p> -</s3> -<s3 title="Property Resolution"> - <p> -This is support for the functions in property values that evaluate some -expression. -Better support for resolution including support for "inherit" and values -with lists. - </p> -</s3> -<s3 title="Validity Checking"> - <p> -Check the validity of children for a particular element to ensure -there are no invalid children. Should help process the layout better. - </p> -</s3> -</s2> - <s2 title="Processing Improvements"> -<s3 title="Image Handling"> - <p> -Needs to be a bit more solid. -Allow for direct insertion of jpeg images in svg into the pdf. - </p> -</s3> -<s3 title="Configuration"> - <p> -Support for avalon. Better multithread handling. - </p> -</s3> -<s3 title="More PDF Outputs"> - <p> -Support for streaming and linearized pdf to help with different -deployement of pdf documents. - </p> -</s3> -<s3 title="i18n in awt viewer"> - <p> -Use proper i18n handling for awt viewer. - </p> -</s3> -<s3 title="better abstraction of rendering classes"> - <p> -put all common rendering processes into an abstract class that has -no dependancies on any specific renderers. - </p> -</s3> -</s2> - <s2 title="Enhancements"> -<s3 title="font handling"> - <p> -Need better handling of font names, since a font can have several names. - </p> -</s3> -<s3 title="user agent"> - <p> -A user agent (or some similar thing) is needed to handle adjustable -values, such as setting dpi resolution. - </p> -</s3> -<s3 title="input from url"> - <p> -be able to specify a url as the input fo (or xml, xsl) documents. - </p> -</s3> -<s3 title="improve text handling in svg"> - <p> -support (better) the direct rendering of text into pdf graphics -and other similair outputs - </p> -</s3> -<s3 title="stream encoding"> - <p> -Support for different encoding on different types of streams -in pdf document. -For example images and text. - </p> -</s3> -<s3 title="PDF Graphic State"> - <p> -Add support for the pdf graphic state for use with transparency -in pdf 1.4. - </p> -</s3> -<s3 title="svg features"> - <p> -Currently patterns and gradients are not generated properly - </p> -</s3> - </s2> - - -</s1> - diff --git a/docs/xml-docs/makedoc.bat b/docs/xml-docs/makedoc.bat deleted file mode 100755 index ec7356f82..000000000 --- a/docs/xml-docs/makedoc.bat +++ /dev/null @@ -1,29 +0,0 @@ -@echo off -REM creates pdf and html documentation - - -echo Building Fop documentation (pdf,html) -echo ---------------- - -if "%JAVA_HOME%" == "" goto error - -set LIBDIR=..\..\lib -set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;%LIBDIR%\ant.jar;%LIBDIR%\batik.jar;%LIBDIR%\buildtools.jar;%LIBDIR%\xerces-1.2.3.jar;%LIBDIR%\xalan-1.2.2.jar;%LIBDIR%\bsf.jar;%LIBDIR%\avalon-framework-4.0.jar;%LIBDIR%\logkit-1.0b4.jar;%LIBDIR%\jimi-1.0.jar;%LIBDIR%\stylebook.jar;%LIBDIR%\..\build\fop.jar -set ANT_HOME=%LIBDIR% - - -%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5 - - -%JAVA_HOME%\bin\java.exe -classpath %LOCALCLASSPATH%;%CLASSPATH% org.apache.stylebook.StyleBook "targetDirectory=../html-docs/" fop.xml style/ - -goto end - -:error - -echo ERROR: JAVA_HOME not found in your environment. -echo Please, set the JAVA_HOME variable in your environment to match the -echo location of the Java Virtual Machine you want to use. - -:end - diff --git a/docs/xml-docs/makedoc.sh b/docs/xml-docs/makedoc.sh deleted file mode 100755 index 192a37bf3..000000000 --- a/docs/xml-docs/makedoc.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -#This file should be executable - - -echo -echo "Converting Fop's xml documentation into a pdf file, creating html docs" -echo "----------------" -echo - -if [ "$JAVA_HOME" = "" ] ; then - echo "ERROR: JAVA_HOME not found in your environment." - echo - echo "Please, set the JAVA_HOME variable in your environment to match the" - echo "location of the Java Virtual Machine you want to use." - exit 1 -fi - -LIBDIR=../../lib -LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/batik.jar:$LIBDIR/buildtools.jar:$LIBDIR/xerces-1.2.3.jar:$LIBDIR/xalan-2.0.0.jar:$LIBDIR/bsf.jar:$LIBDIR/avalon-framework-4.0.jar:$LIBDIR/logkit-1.0b4.jar:$LIBDIR/jimi-1.0.jar:$LIBDIR/stylebook.jar:$LIBDIR/../build/fop.jar -ANT_HOME=$LIBDIR - -echo Building with classpath $LOCALCLASSPATH:$CLASSPATH -echo - -echo Starting Ant... -echo - -$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH:$CLASSPATH" org.apache.tools.ant.Main $* - - -$JAVA_HOME/bin/java -classpath "$LOCALCLASSPATH:$CLASSPATH" org.apache.stylebook.StyleBook "targetDirectory=../html-docs/" fop.xml skins/xml.apache.org/ diff --git a/docs/xml-docs/readme b/docs/xml-docs/readme deleted file mode 100644 index 2b860db0d..000000000 --- a/docs/xml-docs/readme +++ /dev/null @@ -1,10 +0,0 @@ -Fop documentation (xml version) - -The files in these directory contain the Fop documentation as xml files. -The directory xml-docs/fop is a mirror of the files in the cvs repository -modul 'xml-site' /sources/fop. These files are used to create the html documentation -on xml.apache.org. - -With makedoc.bat (win32) or makedoc.sh (unix) you can create a pdf file containing -the complete Fop documentation. These scripts use ant. If you have any trouble running them, -please look into build.xml in the root directory of this distribution.
\ No newline at end of file diff --git a/docs/xml-docs/skins/xml.apache.org/graphics/button-a.gif b/docs/xml-docs/skins/xml.apache.org/graphics/button-a.gif Binary files differdeleted file mode 100644 index 5d0b8c242..000000000 --- a/docs/xml-docs/skins/xml.apache.org/graphics/button-a.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/graphics/button-b.gif b/docs/xml-docs/skins/xml.apache.org/graphics/button-b.gif Binary files differdeleted file mode 100644 index 06e03811a..000000000 --- a/docs/xml-docs/skins/xml.apache.org/graphics/button-b.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/loader.xml b/docs/xml-docs/skins/xml.apache.org/loader.xml deleted file mode 100644 index 3bb469dd2..000000000 --- a/docs/xml-docs/skins/xml.apache.org/loader.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0"?> - -<!-- CVS $Revision$ $Date$ --> - -<loader> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/book2project.xsl"/> - </processor> -</loader> diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-bottom.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-bottom.gif Binary files differdeleted file mode 100644 index c6356a004..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-bottom.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-left.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-left.gif Binary files differdeleted file mode 100644 index 0091cdf39..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-left.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-right.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-right.gif Binary files differdeleted file mode 100644 index 4970d9f25..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-right.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-top.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-top.gif Binary files differdeleted file mode 100644 index a0e707dc9..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-top.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-left.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-left.gif Binary files differdeleted file mode 100644 index 2223fde26..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-left.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-right.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-right.gif Binary files differdeleted file mode 100644 index 7110336c8..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-right.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-top-left.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-top-left.gif Binary files differdeleted file mode 100644 index 4a2f7da99..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/bar-top-left.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-top-right.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-top-right.gif Binary files differdeleted file mode 100644 index 5256292d7..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/bar-top-right.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bottom.gif b/docs/xml-docs/skins/xml.apache.org/resources/bottom.gif Binary files differdeleted file mode 100644 index bc5b8cbb9..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/bottom.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-asf-hi.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-asf-hi.gif Binary files differdeleted file mode 100644 index 2c52e3763..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/button-asf-hi.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-asf-lo.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-asf-lo.gif Binary files differdeleted file mode 100644 index 50afd7dd6..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/button-asf-lo.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-hi.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-hi.gif Binary files differdeleted file mode 100644 index e12862568..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-hi.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-lo.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-lo.gif Binary files differdeleted file mode 100644 index 8b457db49..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-lo.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-xml-hi.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-xml-hi.gif Binary files differdeleted file mode 100644 index 929310be8..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/button-xml-hi.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-xml-lo.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-xml-lo.gif Binary files differdeleted file mode 100644 index 091ce8e96..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/button-xml-lo.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/close.gif b/docs/xml-docs/skins/xml.apache.org/resources/close.gif Binary files differdeleted file mode 100644 index 48a9782ce..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/close.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/dot.gif b/docs/xml-docs/skins/xml.apache.org/resources/dot.gif Binary files differdeleted file mode 100644 index 6227d1d86..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/dot.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/join.gif b/docs/xml-docs/skins/xml.apache.org/resources/join.gif Binary files differdeleted file mode 100644 index 02e7611bb..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/join.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/line.gif b/docs/xml-docs/skins/xml.apache.org/resources/line.gif Binary files differdeleted file mode 100644 index 3716c4cd0..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/line.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/logo.gif b/docs/xml-docs/skins/xml.apache.org/resources/logo.gif Binary files differdeleted file mode 100644 index 53538c3f6..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/logo.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/note.gif b/docs/xml-docs/skins/xml.apache.org/resources/note.gif Binary files differdeleted file mode 100644 index 83ce9ec31..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/note.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/right.gif b/docs/xml-docs/skins/xml.apache.org/resources/right.gif Binary files differdeleted file mode 100644 index bcb50e386..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/right.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/script.js b/docs/xml-docs/skins/xml.apache.org/resources/script.js deleted file mode 100644 index 1bf24c79c..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/script.js +++ /dev/null @@ -1,17 +0,0 @@ -rolloverImagesOn=new Array(); -rolloverImagesOff=new Array(); - -function rolloverOn(name) { - document.images[name].src=rolloverImagesOn[name].src; -} - -function rolloverOff(name) { - document.images[name].src=rolloverImagesOff[name].src; -} - -function rolloverLoad(name,on,off) { - rolloverImagesOn[name]=new Image(); - rolloverImagesOn[name].src=on; - rolloverImagesOff[name]=new Image(); - rolloverImagesOff[name].src=off; -} diff --git a/docs/xml-docs/skins/xml.apache.org/resources/separator.gif b/docs/xml-docs/skins/xml.apache.org/resources/separator.gif Binary files differdeleted file mode 100644 index e7749432f..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/separator.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/resources/void.gif b/docs/xml-docs/skins/xml.apache.org/resources/void.gif Binary files differdeleted file mode 100644 index 75b945d25..000000000 --- a/docs/xml-docs/skins/xml.apache.org/resources/void.gif +++ /dev/null diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/book2project.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/book2project.xsl deleted file mode 100644 index 1cb768073..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/book2project.xsl +++ /dev/null @@ -1,181 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - - <!-- match the root book element --> - <xsl:template match="book"> - <project> - - <parameter name="copyright" value="{@copyright}"/> - <parameter name="name" value="{@software}"/> - - <!-- copy all resources to the targets --> - <process source="sbk:/style/resources/" producer="directory"> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/directory2project.xsl"/> - <parameter name="base" value="resources/"/> - </processor> - </process> - - <xsl:apply-templates/> - - </project> - </xsl:template> - -<!-- ********************************************************************** --> -<!-- CREATE THE TARGET HTML --> -<!-- ********************************************************************** --> - - <xsl:template match="page|hidden"> - <process source="{@source}" producer="parser"> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/scan4resources.xsl"/> - </processor> - </process> - - <xsl:call-template name="header"> - <xsl:with-param name="id" select="@id"/> - <xsl:with-param name="source" select="@source"/> - <xsl:with-param name="label" select="@label"/> - </xsl:call-template> - - <xsl:if test="not(name(.)='hidden')"> - <xsl:call-template name="labels"> - <xsl:with-param name="id" select="@id"/> - <xsl:with-param name="label" select="@label"/> - </xsl:call-template> - </xsl:if> - - <create source="{@source}" target="{@id}.html" producer="parser" printer="html"> - <processor name="xslt"> - <parameter name="id" value="{@id}"/> - <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/> - </processor> - </create> - </xsl:template> - - <xsl:template match="spec"> - <process source="{@source}" producer="parser"> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/scan4resources.xsl"/> - </processor> - </process> - - <xsl:call-template name="header"> - <xsl:with-param name="id" select="@id"/> - <xsl:with-param name="source" select="@source"/> - <xsl:with-param name="label" select="@label"/> - </xsl:call-template> - - <xsl:call-template name="labels"> - <xsl:with-param name="id" select="@id"/> - <xsl:with-param name="label" select="@label"/> - </xsl:call-template> - - <create source="{@source}" target="{@id}.html" producer="parser" printer="html"> - <processor name="xslt"> - <parameter name="id" value="{@id}"/> - <parameter name="stylesheet" value="sbk:/style/stylesheets/spec2html.xsl"/> - </processor> - </create> - </xsl:template> - - <xsl:template match="changes|faqs|todo"> - <process source="{@source}" producer="parser"> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/{name(.)}2document.xsl"/> - </processor> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/scan4resources.xsl"/> - </processor> - </process> - - <xsl:call-template name="header"> - <xsl:with-param name="id" select="@id"/> - <xsl:with-param name="source" select="@source"/> - <xsl:with-param name="label" select="@label"/> - <xsl:with-param name="type" select="name(.)"/> - </xsl:call-template> - - <xsl:call-template name="labels"> - <xsl:with-param name="id" select="@id"/> - <xsl:with-param name="label" select="@label"/> - </xsl:call-template> - - <create source="{@source}" target="{@id}.html" producer="parser" printer="html"> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/{name(.)}2document.xsl"/> - </processor> - <processor name="xslt"> - <parameter name="id" value="{@id}"/> - <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/> - </processor> - </create> - </xsl:template> - - <xsl:template match="external"> - <xsl:call-template name="labels"> - <xsl:with-param name="id" select="concat('ext-',position())"/> - <xsl:with-param name="label" select="@label"/> - </xsl:call-template> - </xsl:template> - -<!-- ********************************************************************** --> -<!-- NAMED TEMPLATES --> -<!-- ********************************************************************** --> - -<!-- Generate the doument header image --> - <xsl:template name="header"> - <xsl:param name="id"/> - <xsl:param name="source"/> - <xsl:param name="label"/> - <xsl:param name="type"/> - - <create source="{$source}" target="graphics/{$id}-header.jpg" producer="parser" printer="image"> - <xsl:if test="$type"> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/{$type}2document.xsl"/> - </processor> - </xsl:if> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/document2image.xsl"/> - </processor> - </create> - </xsl:template> - -<!-- Generate the three rollover label images --> - <xsl:template name="labels"> - <xsl:param name="id"/> - <xsl:param name="label"/> - - <create source="" target="graphics/{$id}-label-1.jpg" producer="context" printer="image"> - <parameter name="label" value="{$label}"/> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/> - <parameter name="image" value="sbk:/style/graphics/button-a.gif"/> - <parameter name="color" value="ffffff"/> - </processor> - </create> - - <create source="" target="graphics/{$id}-label-2.jpg" producer="context" printer="image"> - <parameter name="label" value="{$label}"/> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/> - <parameter name="image" value="sbk:/style/graphics/button-b.gif"/> - <parameter name="color" value="ffff00"/> - </processor> - </create> - - <create source="" target="graphics/{$id}-label-3.jpg" producer="context" printer="image"> - <parameter name="label" value="{$label}"/> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/> - <parameter name="image" value="sbk:/style/graphics/button-b.gif"/> - <parameter name="color" value="ffffff"/> - </processor> - </create> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/changes2document.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/changes2document.xsl deleted file mode 100644 index edcd4e0d0..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/changes2document.xsl +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - - <xsl:import href="copyover.xsl"/> - - <xsl:param name="name"/> - - <xsl:template match="changes"> - <document> - <header> - <title><xsl:value-of select="@title"/></title> - </header> - <body> - <xsl:apply-templates/> - </body> - </document> - </xsl:template> - - <xsl:template match="release"> - <s2 title="{$name} {@version} ({@date})"> - <sl> - <xsl:apply-templates/> - </sl> - </s2> - </xsl:template> - - <xsl:template match="action"> - <li> - <icon src="images/{@type}.jpg" alt="{@type}"/> - <xsl:apply-templates/> - <xsl:text>(</xsl:text><xsl:value-of select="@dev"/><xsl:text>)</xsl:text> - - <xsl:if test="@due-to"> - <xsl:text> Thanks to </xsl:text> - <link href="mailto:{@due-to-email}"><xsl:value-of select="@due-to"/></link> - <xsl:text>.</xsl:text> - </xsl:if> - - <xsl:if test="@fixes-bug"> - <xsl:text> Fixes </xsl:text> - <link href="http://xml.apache.org/bugs/show_bug.cgi?id={@fixes-bug}"> - <xsl:text>bug </xsl:text><xsl:value-of select="@fixes-bug"/> - </link> - <xsl:text>.</xsl:text> - </xsl:if> - </li> - </xsl:template> - - <xsl:template match="devs"> - <!-- remove --> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/context2label.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/context2label.xsl deleted file mode 100644 index de5a14bd3..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/context2label.xsl +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - - <xsl:param name="image"/> - <xsl:param name="color"/> - - <xsl:template match="context"> - <image source="{$image}"> - <xsl:apply-templates/> - </image> - </xsl:template> - - <xsl:template match="parameter"> - <xsl:if test="@name='label'"> - <text font="Arial" size="12" x="14" y="1" halign="left" - valign="top" color="{$color}" style="italic" text="{@value}"/> - </xsl:if> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/copyover.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/copyover.xsl deleted file mode 100644 index 5ef559c57..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/copyover.xsl +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - - <xsl:template match="@*|*|text()|processing-instruction()"> - <xsl:copy> - <xsl:apply-templates select="@*|*|text()|processing-instruction()"/> - </xsl:copy> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/directory2project.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/directory2project.xsl deleted file mode 100644 index 0e03dc892..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/directory2project.xsl +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - - <xsl:param name="base"/> - - <xsl:template match="directory"> - <project> - <xsl:apply-templates/> - </project> - </xsl:template> - - <xsl:template match="entry"> - <xsl:if test="not(@directory)"> - <resource source="{@href}" target="{$base}{@href}"/> - </xsl:if> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/document2html.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2html.xsl deleted file mode 100644 index 590560c59..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/document2html.xsl +++ /dev/null @@ -1,488 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - - <xsl:param name="stylebook.project"/> - <xsl:param name="copyright"/> - <xsl:param name="id"/> - -<!-- ====================================================================== --> -<!-- document section --> -<!-- ====================================================================== --> - - <xsl:template match="/"> - <!-- checks if this is the included document to avoid neverending loop --> - <xsl:if test="not(book)"> - <html> - <head> - <script language="JavaScript" type="text/javascript" src="resources/script.js"/> - <title><xsl:value-of select="document/header/title"/></title> - </head> - <body text="#000000" link="#039acc" vlink="#0086b2" alink="#cc0000" - topmargin="4" leftmargin="4" marginwidth="4" marginheight="4" - bgcolor="#ffffff"> - <!-- THE TOP BAR (HEADER) --> - <table width="100%" cellspacing="0" cellpadding="0" border="0"> - <tr> - <td width="135" height="60" rowspan="3" valign="top" align="left"> - <img width="135" height="60" src="resources/logo.gif" hspace="0" vspace="0" border="0"/> - </td> - <td width="100%" height="5" valign="top" align="left" colspan="2" background="resources/line.gif"> - <img width="1" height="5" src="resources/line.gif" hspace="0" vspace="0" border="0" align="left"/> - </td> - <td width="29" height="60" rowspan="3" valign="top" align="left"> - <img width="29" height="60" src="resources/right.gif" hspace="0" vspace="0" border="0"/> - </td> - </tr> - <tr> - <td width="100%" height="35" valign="top" align="left" colspan="2" bgcolor="#0086b2"> - <img src="graphics/{$id}-header.jpg" width="456" height="35" hspace="0" vspace="0" border="0" alt="{header/title}" align="right"/> - </td> - </tr> - <tr> - <td width="100%" height="20" valign="top" align="left" bgcolor="#0086b2" background="resources/bottom.gif"> - <img width="3" height="20" src="resources/bottom.gif" hspace="0" vspace="0" border="0" align="left"/> - </td> - <td align="right" bgcolor="#0086b2" height="20" valign="top" width="288" background="resources/bottom.gif"> - <table border="0" cellpadding="0" cellspacing="0" width="288"> - <tr> - <td width="96" height="20" valign="top" align="left"> - <a href="http://xml.apache.org/" onMouseOver="rolloverOn('xml');" onMouseOut="rolloverOff('xml');" target="new"> - <img alt="http://xml.apache.org/" width="96" height="20" src="resources/button-xml-lo.gif" - name="xml" hspace="0" vspace="0" border="0" - onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');"/> - </a> - </td> - <td width="96" height="20" valign="top" align="left"> - <a href="http://www.apache.org/" onMouseOver="rolloverOn('asf');" onMouseOut="rolloverOff('asf');" target="new"> - <img alt="http://www.apache.org/" width="96" height="20" src="resources/button-asf-lo.gif" - name="asf" hspace="0" vspace="0" border="0" - onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');"/> - </a> - </td> - <td width="96" height="20" valign="top" align="left"> - <a href="http://www.w3.org/" onMouseOver="rolloverOn('w3c');" onMouseOut="rolloverOff('w3c');" target="new"> - <img alt="http://www.w3.org/" width="96" height="20" src="resources/button-w3c-lo.gif" - name="w3c" hspace="0" vspace="0" border="0" - onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');"/> - </a> - </td> - </tr> - </table> - </td> - </tr> - </table> - - <!-- THE MAIN PANEL (SIDEBAR AND CONTENT) --> - <table width="100%" cellspacing="0" cellpadding="0" border="0"> - <tr> - <!-- THE SIDE BAR --> - <td width="120" valign="top" align="left"> - <img width="120" height="14" src="resources/join.gif" hspace="0" vspace="0" border="0"/><br/> - <xsl:apply-templates select="document($stylebook.project)"/> - <img width="120" height="14" src="resources/close.gif" hspace="0" vspace="0" border="0"/><br/> - </td> - <!-- THE CONTENT PANEL --> - <td width="*" valign="top" align="left"> - <table border="0" cellspacing="0" cellpadding="3"> - <tr><td><br/><xsl:apply-templates/></td></tr> - </table> - </td> - </tr> - </table> - - <br/> - - <table width="100%" border="0" cellspacing="0" cellpadding="0"> - <tr><td bgcolor="#0086b2"><img src="images/dot.gif" width="1" height="1"/></td></tr> - <tr> - <td align="center"><font face="arial,helvetica,sanserif" size="-1" color="#0086b2"><i> - Copyright © <xsl:value-of select="$copyright"/>. - All Rights Reserved. - </i></font></td> - </tr> - </table> - </body> - </html> - </xsl:if> - - <xsl:if test="book"> - <xsl:apply-templates/> - </xsl:if> - </xsl:template> - -<!-- ====================================================================== --> -<!-- book section --> -<!-- ====================================================================== --> - - <xsl:template match="page|faqs|changes|todo|spec"> - <xsl:if test="@id=$id"> - <img src="graphics/{@id}-label-1.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/> - </xsl:if> - <xsl:if test="@id!=$id"> - <a href="{@id}.html" onMouseOver="rolloverOn('side-{@id}');" onMouseOut="rolloverOff('side-{@id}');"> - <img onLoad="rolloverLoad('side-{@id}','graphics/{@id}-label-2.jpg','graphics/{@id}-label-3.jpg');" - name="side-{@id}" src="graphics/{@id}-label-3.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/> - </a> - </xsl:if> - <br/> - </xsl:template> - - <xsl:template match="external"> - <xsl:variable name="extid" select="concat('ext-',position())"/> - <a href="{@href}" onMouseOver="rolloverOn('side-{$extid}');" onMouseOut="rolloverOff('side-{$extid}');"> - <img onLoad="rolloverLoad('side-{$extid}','graphics/{$extid}-label-2.jpg','graphics/{$extid}-label-3.jpg');" - name="side-{$extid}" src="graphics/{$extid}-label-3.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/> - </a> - <br/> - </xsl:template> - - <xsl:template match="separator"> - <img src="resources/separator.gif" width="120" height="6" hspace="0" vspace="0" border="0"/><br/> - </xsl:template> - -<!-- ====================================================================== --> -<!-- header section --> -<!-- ====================================================================== --> - - <xsl:template match="header"> - <!-- ignore on general document --> - </xsl:template> - -<!-- ====================================================================== --> -<!-- body section --> -<!-- ====================================================================== --> - - <xsl:template match="s1"> - <div align="right"> - <table border="0" width="98%" cellspacing="0" cellpadding="0"> - <tr> - <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> - <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td> - <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> - </tr> - <tr> - <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> - <td width="100%" bgcolor="#0086b2"> - <font size="+1" face="arial,helvetica,sanserif" color="#ffffff"> - <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font> - </td> - <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> - </tr> - <tr> - <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> - <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" height="12" vspace="0" hspace="0" border="0"/></td> - <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> - </tr> - </table> - <table border="0" width="98%" cellspacing="0" cellpadding="0"> - <tr> - <td> - <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font> - </td> - </tr> - </table> - </div> - <br/> - </xsl:template> - - <xsl:template match="s2"> - <div align="right"> - <table border="0" width="95%" cellspacing="0" cellpadding="0"> - <tr> - <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> - <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td> - <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> - </tr> - <tr> - <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> - <td width="100%" bgcolor="#0086b2"> - <font face="arial,helvetica,sanserif" color="#ffffff"> - <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font> - </td> - <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> - </tr> - <tr> - <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> - <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td> - <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> - </tr> - </table> - <table border="0" width="95%" cellspacing="0" cellpadding="0"> - <tr> - <td> - <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font> - </td> - </tr> - </table> - </div> - <br/> - </xsl:template> - - <xsl:template match="s3"> - <div align="right"> - <table border="0" width="90%" cellspacing="0" cellpadding="0"> - <tr> - <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> - <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td> - <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> - </tr> - <tr> - <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> - <td width="100%" bgcolor="#0086b2"> - <font size="-1" face="arial,helvetica,sanserif" color="#ffffff"> - <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font> - </td> - <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> - </tr> - <tr> - <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> - <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td> - <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> - </tr> - </table> - <table border="0" width="90%" cellspacing="0" cellpadding="0"> - <tr> - <td> - <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font> - </td> - </tr> - </table> - </div> - <br/> - </xsl:template> - - <xsl:template match="s4"> - <div align="right"> - <table border="0" width="85%" cellspacing="0" cellpadding="0"> - <tr> - <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> - <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td> - <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> - </tr> - <tr> - <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> - <td width="100%" bgcolor="#0086b2"> - <font size="-2" face="arial,helvetica,sanserif" color="#ffffff"> - <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font> - </td> - <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> - </tr> - <tr> - <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> - <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td> - <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> - </tr> - </table> - <table border="0" width="85%" cellspacing="0" cellpadding="0"> - <tr> - <td> - <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font> - </td> - </tr> - </table> - </div> - <br/> - </xsl:template> - -<!-- ====================================================================== --> -<!-- footer section --> -<!-- ====================================================================== --> - - <xsl:template match="footer"> - <!-- ignore on general documents --> - </xsl:template> - -<!-- ====================================================================== --> -<!-- paragraph section --> -<!-- ====================================================================== --> - - <xsl:template match="p"> - <p align="left"><xsl:apply-templates/></p> - </xsl:template> - - <xsl:template match="note"> - <p> - <table width="100%" cellspacing="3" cellpadding="0" border="0"> - <tr> - <td width="28" valign="top"> - <img src="resources/note.gif" width="28" height="29" vspace="0" hspace="0" border="0" alt="Note"/> - </td> - <td valign="top"> - <font size="-1" face="arial,helvetica,sanserif" color="#000000"> - <i> - <xsl:apply-templates/> - </i> - </font> - </td> - </tr> - </table> - </p> - </xsl:template> - - <xsl:template match="source"> - <div align="center"> - <table cellspacing="4" cellpadding="0" border="0"> - <tr> - <td bgcolor="#0086b2" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#0086b2" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#0086b2" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - </tr> - <tr> - <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#ffffff"><pre><xsl:apply-templates/></pre></td> - <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - </tr> - <tr> - <td bgcolor="#0086b2" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#0086b2" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#0086b2" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - </tr> - </table> - </div> - </xsl:template> - - <xsl:template match="fixme"> - <!-- ignore on documentation --> - </xsl:template> - -<!-- ====================================================================== --> -<!-- list section --> -<!-- ====================================================================== --> - - <xsl:template match="ul|ol|dl"> - <blockquote> - <xsl:copy> - <xsl:apply-templates/> - </xsl:copy> - </blockquote> - </xsl:template> - - <xsl:template match="li"> - <xsl:copy> - <xsl:apply-templates/> - </xsl:copy> - </xsl:template> - - <xsl:template match="sl"> - <ul> - <xsl:apply-templates/> - </ul> - </xsl:template> - - <xsl:template match="dt"> - <li> - <strong><xsl:value-of select="."/></strong> - <xsl:text> - </xsl:text> - <xsl:apply-templates select="dd"/> - </li> - </xsl:template> - -<!-- ====================================================================== --> -<!-- table section --> -<!-- ====================================================================== --> - - <xsl:template match="table"> - <table width="100%" border="0" cellspacing="2" cellpadding="2"> - <caption><xsl:value-of select="caption"/></caption> - <xsl:apply-templates/> - </table> - </xsl:template> - - <xsl:template match="tr"> - <tr><xsl:apply-templates/></tr> - </xsl:template> - - <xsl:template match="th"> - <td bgcolor="#039acc" colspan="{@colspan}" rowspan="{@rowspan}" valign="center" align="center"> - <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"> - <b><xsl:apply-templates/></b>  - </font> - </td> - </xsl:template> - - <xsl:template match="td"> - <td bgcolor="#a0ddf0" colspan="{@colspan}" rowspan="{@rowspan}" valign="top" align="left"> - <font color="#000000" size="-1" face="arial,helvetica,sanserif"> - <xsl:apply-templates/>  - </font> - </td> - </xsl:template> - - <xsl:template match="tn"> - <td bgcolor="#ffffff" colspan="{@colspan}" rowspan="{@rowspan}"> -   - </td> - </xsl:template> - - <xsl:template match="caption"> - <!-- ignore since already used --> - </xsl:template> - -<!-- ====================================================================== --> -<!-- markup section --> -<!-- ====================================================================== --> - - <xsl:template match="strong"> - <b><xsl:apply-templates/></b> - </xsl:template> - - <xsl:template match="em"> - <i><xsl:apply-templates/></i> - </xsl:template> - - <xsl:template match="code"> - <code><font face="courier, monospaced"><xsl:apply-templates/></font></code> - </xsl:template> - -<!-- ====================================================================== --> -<!-- images section --> -<!-- ====================================================================== --> - - <xsl:template match="figure"> - <p align="center"><img src="{@src}" alt="{@alt}" border="0" vspace="4" hspace="4"/></p> - </xsl:template> - - <xsl:template match="img"> - <img src="{@src}" alt="{@alt}" border="0" vspace="4" hspace="4" align="right"/> - </xsl:template> - - <xsl:template match="icon"> - <img src="{@src}" alt="{@alt}" border="0" align="absmiddle"/> - </xsl:template> - -<!-- ====================================================================== --> -<!-- links section --> -<!-- ====================================================================== --> - - <xsl:template match="link"> - <a href="{@href}"><xsl:apply-templates/></a> - </xsl:template> - - <xsl:template match="connect"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="jump"> - <a href="{@href}#{@anchor}"><xsl:apply-templates/></a> - </xsl:template> - - <xsl:template match="fork"> - <a href="{@href}" target="_blank"><xsl:apply-templates/></a> - </xsl:template> - - <xsl:template match="anchor"> - <a name="{@id}"><xsl:comment>anchor</xsl:comment></a> - </xsl:template> - -<!-- ====================================================================== --> -<!-- specials section --> -<!-- ====================================================================== --> - - <xsl:template match="br"> - <br/> - </xsl:template> - -</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/document2image.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2image.xsl deleted file mode 100644 index 8416505ce..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/document2image.xsl +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - - <xsl:param name="label"/> - - <xsl:template match="/"> - <xsl:variable name="label"> - <xsl:if test="//header/title"> - <xsl:value-of select="//header/title"/> - </xsl:if> - </xsl:variable> - - <image width="456" height="35" bgcolor="0086b2"> - <text font="Arial" size="29" x="454" y="8" halign="right" valign="top" color="004080" text="{$label}"/> - <text font="Arial" size="29" x="452" y="6" halign="right" valign="top" color="ffffff" text="{$label}"/> - </image> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/document2project.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2project.xsl deleted file mode 100644 index 619ec8344..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/document2project.xsl +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - - <xsl:template match="/"> - <project> - <xsl:apply-templates/> - </project> - </xsl:template> - - <xsl:template match="img|figure|icon"> - <resource source="{@src}" target="{@src}"/> - </xsl:template> - - <xsl:template match="node()"> - <xsl:apply-templates/> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/faqs2document.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/faqs2document.xsl deleted file mode 100644 index 46383760c..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/faqs2document.xsl +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - - <xsl:import href="copyover.xsl"/> - - <xsl:template match="faqs"> - <document> - <header> - <title><xsl:value-of select="@title"/></title> - </header> - <body> - <s1 title="Questions"> - <ul> - <xsl:apply-templates select="faq" mode="index"/> - </ul> - </s1> - <s1 title="Answers"> - <xsl:apply-templates select="faq"/> - </s1> - </body> - </document> - </xsl:template> - - <xsl:template match="faq" mode="index"> - <li> - <jump anchor="faq-{position()}"> - <xsl:value-of select="question"/> - </jump> - </li> - </xsl:template> - - <xsl:template match="faq"> - <anchor id="faq-{position()}"/> - <s2 title="{question}"> - <xsl:apply-templates/> - </s2> - </xsl:template> - - <xsl:template match="question"> - <!-- ignored since already used --> - </xsl:template> - - <xsl:template match="answer"> - <xsl:apply-templates/> - </xsl:template> - -</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/scan4resources.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/scan4resources.xsl deleted file mode 100644 index 34d44e331..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/scan4resources.xsl +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - - <xsl:template match="/"> - <project> - <xsl:apply-templates/> - </project> - </xsl:template> - - <xsl:template match="img|figure|icon"> - <resource source="{@src}" target="{@src}"/> - </xsl:template> - - <xsl:template match="text()"> - <!-- ignore --> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/spec2html.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/spec2html.xsl deleted file mode 100644 index 45b98dcb2..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/spec2html.xsl +++ /dev/null @@ -1,119 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - -<!-- ====================================================================== --> -<!-- inherit the document2html templates --> -<!-- ====================================================================== --> - - <xsl:import href="document2html.xsl"/> - -<!-- ====================================================================== --> -<!-- header --> -<!-- ====================================================================== --> - - <xsl:template match="header"> - <div align="center"> - <table width="60%" border="0" cellspacing="2" cellpadding="2"> - <tr> - <td bgcolor="#039acc" valign="center" align="center"> - <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"> - <b>Authors</b> - </font> - </td> - </tr> - <xsl:for-each select="authors/person"> - <tr> - <td bgcolor="#a0ddf0" valign="center" align="left"> - <font color="#000000" size="-1" face="arial,helvetica,sanserif"> - <b><xsl:value-of select="@name"/></b> - <xsl:value-of select="@email"/> - </font> - </td> - </tr> - </xsl:for-each> - <tr> - <td bgcolor="#039acc" valign="center" align="center"> - <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"> - <b>Status</b> - </font> - </td> - </tr> - <tr> - <td bgcolor="#a0ddf0" valign="center" align="left"> - <font color="#000000" size="-1" face="arial,helvetica,sanserif"> - <b><xsl:value-of select="type"/> - <xsl:value-of select="version"/></b> - </font> - </td> - </tr> - <tr> - <td bgcolor="#039acc" valign="center" align="center"> - <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"> - <b>Notice</b> - </font> - </td> - </tr> - <tr> - <td bgcolor="#a0ddf0" valign="center" align="left"> - <font color="#000000" size="-1" face="arial,helvetica,sanserif"> - <xsl:value-of select="notice"/> - </font> - </td> - </tr> - <tr> - <td bgcolor="#039acc" valign="center" align="center"> - <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"> - <b>Abstract</b> - </font> - </td> - </tr> - <tr> - <td bgcolor="#a0ddf0" valign="center" align="left"> - <font color="#000000" size="-1" face="arial,helvetica,sanserif"> - <xsl:value-of select="abstract"/> - </font> - </td> - </tr> - </table> - </div> - <br/> - </xsl:template> - -<!-- ====================================================================== --> -<!-- appendices section --> -<!-- ====================================================================== --> - - <xsl:template match="appendices"> - <xsl:apply-templates/> - </xsl:template> - -<!-- ====================================================================== --> -<!-- bibliography --> -<!-- ====================================================================== --> - - <xsl:template match="bl"> - <ul> - <xsl:apply-templates/> - </ul> - </xsl:template> - - <xsl:template match="bi"> - <li> - <b> - <xsl:text>[</xsl:text> - <a href="{@href}"><xsl:value-of select="@name"/></a> - <xsl:text>]</xsl:text> - </b> - <xsl:text> "</xsl:text> - <xsl:value-of select="@title"/> - <xsl:text>", </xsl:text> - <xsl:value-of select="@authors"/> - <xsl:if test="@date"> - <xsl:text>, </xsl:text> - <xsl:value-of select="@date"/> - </xsl:if> - </li> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/todo2document.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/todo2document.xsl deleted file mode 100644 index 3c063e07e..000000000 --- a/docs/xml-docs/skins/xml.apache.org/stylesheets/todo2document.xsl +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - - <xsl:import href="copyover.xsl"/> - - <xsl:template match="todo"> - <document> - <header> - <title><xsl:value-of select="@title"/></title> - </header> - <body> - <xsl:apply-templates/> - </body> - </document> - </xsl:template> - - <xsl:template match="actions"> - <s2 title="{@priority}"> - <sl> - <xsl:for-each select="action"> - <li> - <strong><xsl:text>[</xsl:text><xsl:value-of select="@context"/><xsl:text>]</xsl:text></strong><xsl:text> </xsl:text> - <xsl:apply-templates/> - </li> - </xsl:for-each> - </sl> - </s2> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/xml-docs/xml2pdf.xsl b/docs/xml-docs/xml2pdf.xsl deleted file mode 100644 index 95501ef21..000000000 --- a/docs/xml-docs/xml2pdf.xsl +++ /dev/null @@ -1,304 +0,0 @@ -<?xml version="1.0"?> - -<!-- XSLT stylesheet to convert the Fop documentation collected in one xml file into a fo file - for use in FOP - -TBD: - The faq doesn't show in the content - - check why margin-bottom on the page with properties is too large - - check why keep-next not only doesn't work, but leads to repeating already printed lines - - make lines containing only code look nicer (smaller line height) - - replace bullets in ordered lists with numbers - - correct the hack replacing nbsp with '-' - - handle the links correctly which have been external in the html doc and are now internal - ---> - -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" - xmlns:fo="http://www.w3.org/1999/XSL/Format" -> - -<xsl:template match ="/"> - <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> - - <!-- defines page layout --> - <fo:layout-master-set> - - <fo:simple-page-master master-name="simple" - page-height="29.7cm" - page-width="21cm" - margin-top="1.5cm" - margin-bottom="2cm" - margin-left="2.5cm" - margin-right="2.5cm"> - <fo:region-body margin-top="3cm"/> - <fo:region-before extent="1.5cm"/> - <fo:region-after extent="1.5cm"/> - </fo:simple-page-master> - </fo:layout-master-set> - - <fo:page-sequence master-name="simple"> - <fo:static-content flow-name="xsl-region-before"> - <fo:block text-align="end" - font-size="10pt" - font-family="serif" - line-height="14pt" > - FOP documentation - p. <fo:page-number/> - </fo:block> - </fo:static-content> - - <fo:flow flow-name="xsl-region-body"> - - - <fo:block font-size="18pt" - font-family="sans-serif" - line-height="24pt" - space-after.optimum="15pt" - background-color="blue" - color="white" - text-align="center"> - FOP - an xsl:fo renderer - </fo:block> - - - <!-- generates table of contents and puts it into a table --> - - <fo:block font-size="14pt" - font-family="sans-serif" - line-height="18pt" - space-after.optimum="10pt" - font-weight="bold" - start-indent="15pt"> - Content - </fo:block> - - <fo:table> - <fo:table-column column-width="1cm"/> - <fo:table-column column-width="15cm"/> - <fo:table-body font-size="12pt" - line-height="16pt" - font-family="sans-serif"> - <xsl:for-each select="//s1"> - <fo:table-row> - <fo:table-cell> - <fo:block text-align="end" > - <xsl:number value="position()" format="1"/>) - </fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block text-align="start" > - <fo:basic-link color="blue"> - <xsl:attribute name="internal-destination"> - <xsl:value-of select="translate(.,' ),-.(','____')"/> - </xsl:attribute> - <xsl:value-of select="@title"/> - </fo:basic-link> - </fo:block> - </fo:table-cell> - </fo:table-row> - </xsl:for-each> - </fo:table-body> - </fo:table> - - - <xsl:apply-templates select="documentation"/> - </fo:flow> - </fo:page-sequence> - </fo:root> -</xsl:template> - -<!-- s1 --> -<xsl:template match ="s1"> - <fo:block font-size="18pt" - font-family="sans-serif" - line-height="24pt" - space-before.optimum="15pt" - space-after.optimum="15pt" - background-color="blue" - color="white" - text-align="center" - > - <xsl:attribute name="ref-id"> - <xsl:value-of select="translate(.,' ),-.(','____')"/> - </xsl:attribute> - <xsl:value-of select="@title"/> - </fo:block> - <xsl:apply-templates/> -</xsl:template> - -<!-- s2 --> -<xsl:template match ="s2"> - <fo:block font-size="16pt" - font-family="sans-serif" - line-height="20pt" - space-before.optimum="15pt" - space-after.optimum="12pt" - text-align="center" - padding-top="3pt" - > - <xsl:value-of select="@title"/> - </fo:block> - <xsl:apply-templates/> -</xsl:template> - -<!-- s3 --> -<xsl:template match ="s3"> - <fo:block font-size="14pt" - font-family="sans-serif" - line-height="18pt" - space-before.optimum="10pt" - space-after.optimum="9pt" - text-align="start" - padding-top="3pt"> - <xsl:value-of select="@title"/> - </fo:block> - <xsl:apply-templates/> -</xsl:template> - -<!-- p [not(code)] --> -<xsl:template match ="p"> - <fo:block font-size="11pt" - font-family="sans-serif" - line-height="13pt" - space-after.optimum="3pt" - space-before.optimum="3pt" - text-align="justify"> - <xsl:apply-templates/> - </fo:block> -</xsl:template> - -<!-- p + code -<xsl:template match ="p[code]"> - <fo:block font-size="11pt" - font-family="sans-serif" - line-height="11pt" - space-after.optimum="0pt" - space-before.optimum="0pt" - text-align="start"> - <xsl:apply-templates/> - </fo:block> -</xsl:template> ---> - -<!-- faqs --> -<xsl:template match ="faqs"> - <fo:block font-size="18pt" - font-family="sans-serif" - line-height="24pt" - space-before.optimum="15pt" - space-after.optimum="15pt" - background-color="blue" - color="white" - text-align="center" - > - <xsl:attribute name="ref-id"> - <xsl:value-of select="translate(.,' ),-.(','____')"/> - </xsl:attribute> - <xsl:value-of select="@title"/> - </fo:block> - <xsl:apply-templates/> -</xsl:template> - - -<!-- faq --> -<xsl:template match ="faq"> - <xsl:apply-templates/> -</xsl:template> - -<!-- q in faq --> -<xsl:template match ="q"> - <fo:block font-size="11pt" - font-family="sans-serif" - line-height="13pt" - space-after.optimum="3pt" - space-before.optimum="3pt" - text-align="justify"> - <xsl:apply-templates/> - </fo:block> -</xsl:template> - -<!-- a in faq --> -<xsl:template match ="a"> - <xsl:apply-templates/> -</xsl:template> - - -<!-- jump (links) --> -<xsl:template match ="*/jump"> - <fo:basic-link color="blue" external-destination="{@href}"> - <xsl:apply-templates/> - </fo:basic-link> -</xsl:template> - - -<!-- code --> -<xsl:template match ="*/code"> - <fo:inline font-size="10pt" - font-family="Courier"> - <xsl:apply-templates/> - </fo:inline> -</xsl:template> - - -<!-- ul (unordered list) --> -<xsl:template match ="ul"> - <fo:list-block start-indent="1cm" - provisional-distance-between-starts="12pt" - font-family="sans-serif" - font-size="11pt" - line-height="11pt"> - <xsl:apply-templates/> - </fo:list-block> -</xsl:template> - - -<!-- ol (ordered list) --> -<xsl:template match ="ol"> - <fo:list-block start-indent="1cm" - provisional-distance-between-starts="12pt" - font-family="sans-serif" - font-size="11pt" - line-height="11pt"> - <xsl:apply-templates/> - </fo:list-block> -</xsl:template> - - -<!-- li (list item) in unordered list --> -<xsl:template match ="ul/li"> - <fo:list-item> - <fo:list-item-label end-indent="label-end()"> - <fo:block><fo:inline font-family="Symbol">·</fo:inline></fo:block> - </fo:list-item-label> - <fo:list-item-body start-indent="body-start()"> - <fo:block space-after.optimum="4pt" - text-align="justify" - padding-top="3pt"> - <xsl:apply-templates/> - </fo:block> - </fo:list-item-body> - </fo:list-item> -</xsl:template> - - -<!-- li (list item) in ordered list --> -<xsl:template match ="ol/li"> - <fo:list-item> - <fo:list-item-label end-indent="label-end()"> - <fo:block> - <xsl:number level="multiple" count="li" format="1"/>) - </fo:block> - </fo:list-item-label> - <fo:list-item-body start-indent="body-start()"> - <fo:block space-after.optimum="4pt" - text-align="justify" - padding-top="3pt"> - <xsl:apply-templates/> - </fo:block> - </fo:list-item-body> - </fo:list-item> -</xsl:template> - -<!-- end body --> - -</xsl:stylesheet> diff --git a/docs/xml-docs/xml2xml.xsl b/docs/xml-docs/xml2xml.xsl deleted file mode 100644 index 242f5f25e..000000000 --- a/docs/xml-docs/xml2xml.xsl +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - -<xsl:template match ="/"> - <documentation> - <xsl:copy-of select="document('fop/readme.xml')"/> - <xsl:copy-of select="document('fop/download.xml')"/> - <xsl:copy-of select="document('fop/running.xml')"/> - <xsl:copy-of select="document('fop/implemented.xml')"/> - <xsl:copy-of select="document('fop/limitations.xml')"/> - <xsl:copy-of select="document('fop/bugs.xml')"/> - <xsl:copy-of select="document('fop/examples.xml')"/> - <xsl:copy-of select="document('fop/configuration.xml')"/> - <xsl:copy-of select="document('fop/fonts.xml')"/> - <xsl:copy-of select="document('fop/extensions.xml')"/> - <xsl:copy-of select="document('fop/compiling.xml')"/> - <xsl:copy-of select="document('fop/embedding.xml')"/> - <xsl:copy-of select="document('fop/involved.xml')"/> - <xsl:copy-of select="document('fop/architecture.xml')"/> - <xsl:copy-of select="document('fop/faq.xml')"/> - <xsl:copy-of select="document('fop/resources.xml')"/> - <xsl:copy-of select="document('fop/license.xml')"/> - </documentation> -</xsl:template> - -</xsl:stylesheet> - - |