diff options
author | Keiron Liddle <keiron@apache.org> | 2001-10-05 09:44:34 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2001-10-05 09:44:34 +0000 |
commit | 4ec330105da5bdd8cee819f51aa9e21424d7800a (patch) | |
tree | 553baaffcd2acfe145e5a3df2f47ac4a93e6d73b | |
parent | 692a69774d19362a7c39f7df56bd60b88aef9b4d (diff) | |
download | xmlgraphics-fop-4ec330105da5bdd8cee819f51aa9e21424d7800a.tar.gz xmlgraphics-fop-4ec330105da5bdd8cee819f51aa9e21424d7800a.zip |
updated stylebook stuff to a more recent version
changed the front page - added some images and made text clearer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194487 13f79535-47bb-0310-9956-ffa450edef68
67 files changed, 2420 insertions, 889 deletions
diff --git a/docs/xml-docs/data/document.svg b/docs/xml-docs/data/document.svg new file mode 100644 index 000000000..29586372f --- /dev/null +++ b/docs/xml-docs/data/document.svg @@ -0,0 +1,164 @@ +<?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 differnew file mode 100644 index 000000000..5d6567116 --- /dev/null +++ b/docs/xml-docs/data/layout.svgz diff --git a/docs/xml-docs/data/logo.svg b/docs/xml-docs/data/logo.svg new file mode 100644 index 000000000..66797943a --- /dev/null +++ b/docs/xml-docs/data/logo.svg @@ -0,0 +1,81 @@ +<?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 new file mode 100644 index 000000000..509dd837f --- /dev/null +++ b/docs/xml-docs/data/title.svg @@ -0,0 +1,43 @@ +<?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 new file mode 100644 index 000000000..42ae93e09 --- /dev/null +++ b/docs/xml-docs/dtd/changes-v10.dtd @@ -0,0 +1,91 @@ +<!-- =================================================================== + + 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 new file mode 100644 index 000000000..8ff50248f --- /dev/null +++ b/docs/xml-docs/dtd/characters.ent @@ -0,0 +1,290 @@ +<!-- + 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 new file mode 100644 index 000000000..78c7d877a --- /dev/null +++ b/docs/xml-docs/dtd/document-v10.dtd @@ -0,0 +1,555 @@ +<!-- =================================================================== + + 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 new file mode 100644 index 000000000..35459ae7e --- /dev/null +++ b/docs/xml-docs/dtd/faq-v10.dtd @@ -0,0 +1,77 @@ +<!-- =================================================================== + + 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 new file mode 100644 index 000000000..39d26f80e --- /dev/null +++ b/docs/xml-docs/dtd/specification-v10.dtd @@ -0,0 +1,85 @@ +<!-- =================================================================== + + 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 new file mode 100644 index 000000000..46e22cbb2 --- /dev/null +++ b/docs/xml-docs/dtd/todo-v10.dtd @@ -0,0 +1,90 @@ +<!-- =================================================================== + + 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 index 03a721e00..bc484d152 100644 --- a/docs/xml-docs/fop.xml +++ b/docs/xml-docs/fop.xml @@ -1,30 +1,29 @@ <?xml version="1.0"?> - <book title="FOP XSL-FO documentation" copyright="1999-2001 The Apache Software Foundation"> - <external href="../index.html" label="Home"/> + <external href="http://xml.apache.org/" label="Home"/> <separator/> - <document id="index" label="Readme" source="fop/readme.xml"/> - <document id="todo" label="TODO" source="fop/todo.xml" /> - <document id="download" label="Download" source="fop/download.xml" /> - <document id="running" label="Running FOP" source="fop/running.xml" /> - <document id="implemented" label="Features" source="fop/implemented.xml" /> - <document id="limitations" label="Limitations" source="fop/limitations.xml" /> - <document id="examples" label="Examples" source="fop/examples.xml" /> - <document id="config" label="Configuration" source="fop/configuration.xml" /> - <document id="fonts" label="Fonts" source="fop/fonts.xml" /> - <document id="extensions" label="Extensions" source="fop/extensions.xml" /> - <document id="svg" label="SVG" source="fop/svg.xml" /> + <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/> - <document id="compiling" label="Compiling" source="fop/compiling.xml" /> - <document id="embedding" label="Embedding" source="fop/embedding.xml" /> - <document id="testing" label="Testing" source="fop/testing.xml" /> - <document id="involved" label="Getting involved" source="fop/involved.xml" /> - <document id="architecture" label="Architecture" source="fop/architecture.xml"/> + <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/> - <document id="bugs" label="Bugs" source="fop/bugs.xml" /> - <document id="faq" label="FAQ" source="fop/faq.xml" /> - <document id="resources" label="Resources" source="fop/resources.xml" /> - <document id="license" label="License" source="fop/license.xml" /> + <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/document.jpg b/docs/xml-docs/fop/document.jpg Binary files differnew file mode 100644 index 000000000..e441833d8 --- /dev/null +++ b/docs/xml-docs/fop/document.jpg diff --git a/docs/xml-docs/fop/layout.jpg b/docs/xml-docs/fop/layout.jpg Binary files differnew file mode 100644 index 000000000..3c519baa2 --- /dev/null +++ b/docs/xml-docs/fop/layout.jpg diff --git a/docs/xml-docs/fop/readme.xml b/docs/xml-docs/fop/readme.xml index d9a15dddf..bc7cbc57d 100644 --- a/docs/xml-docs/fop/readme.xml +++ b/docs/xml-docs/fop/readme.xml @@ -2,16 +2,28 @@ <!-- Overview --> +<document> + <header> + <title>FOP</title> + <subtitle>XSL Formatter - Renderer in Java</subtitle> + <authors> + </authors> + </header> + + <body> <s1 title="FOP"> - <s2 title="What is 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 turns it into a PDF document. The formatting object - tree, can be in the form of an XML document (output by an XSLT engine - like XT or Xalan) or can be passed in memory as a DOM Document or (in - the case of XT) SAX events. + tree and then renders the resulting pages to a specified output. + The primary output target is PDF. </p> - <p>The latest version of Fop is 0.20.1 and it supports the xsl:fo candidate release. +<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 @@ -23,14 +35,35 @@ 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>. A list - of known bugs, the committers to this project and the tasks they are working on can be found - in the file <jump href="http://xml.apache.org/websrc/cvsweb.cgi/xml-fop/">Status</jump> in the - root of your Fop distribution. A history of the latest changes to the project can be found in CHANGES. + <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> - </s2> + </s1> - <s2 title="FOP Objectives"> + <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. @@ -38,28 +71,14 @@ <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>Secondary goals of the FOP Project (also, "FOP") are desirable requirements that also have a high priority. - </p> - - <p>One secondary goal of the FOP Project is to deliver a follow-on version of the formatter that is compliant to the Extended - conformance level described in the XSL FO. Any formatting objects that cannot be translated into PDF will be explicitly - identified as such. - </p> - - <p>Another secondary goal is to improve the conversion of SVG into PDF. - This includes the use of FOP to work as a transcoder for Batik to convert - an SVG document into a PDF document and the fully support embedding SVG inside - fo documents in an fo:instream-foreign-object. + Project will attempt to use the latest version of evolving specifications. </p> - <p>A final secondary goal is the continued refinement of the FOP design and implementation. In particular, maintaining the - separation between formatting and rendering, continuing to support the AWT Viewer renderer (backend), and providing - new renderers, are all desirable objectives. + <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> - </s2> + </s1> -</s1> + </body> +</document> diff --git a/docs/xml-docs/fop/running.xml b/docs/xml-docs/fop/running.xml index 8ee55f348..1e1fa7965 100644 --- a/docs/xml-docs/fop/running.xml +++ b/docs/xml-docs/fop/running.xml @@ -6,7 +6,7 @@ <s1 title="Running FOP"> <s2 title="Prerequisites"> <p>Following software must be installed:</p> - <p>a) Java 1.1.x or later (If you want to use the previewer (option -awt), you need Swing or Java 2)</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: diff --git a/docs/xml-docs/fop/title.jpg b/docs/xml-docs/fop/title.jpg Binary files differnew file mode 100644 index 000000000..f7df45bf1 --- /dev/null +++ b/docs/xml-docs/fop/title.jpg diff --git a/docs/xml-docs/fop/todo.xml b/docs/xml-docs/fop/todo.xml index b2e12c8af..c7940fe3c 100644 --- a/docs/xml-docs/fop/todo.xml +++ b/docs/xml-docs/fop/todo.xml @@ -116,13 +116,6 @@ support (better) the direct rendering of text into pdf graphics and other similair outputs </p> </s3> -<s3 title="svg renderer (output to svg doc for slide presentation)"> - <p> -Create an SVGRenderer that will render all pages onto a single -svg document suitable for slide show presentations (with batik) -suggested by Vincent Hardy. - </p> -</s3> <s3 title="stream encoding"> <p> Support for different encoding on different types of streams diff --git a/docs/xml-docs/makedoc.sh b/docs/xml-docs/makedoc.sh index 72d5459f7..192a37bf3 100755 --- a/docs/xml-docs/makedoc.sh +++ b/docs/xml-docs/makedoc.sh @@ -16,7 +16,7 @@ if [ "$JAVA_HOME" = "" ] ; then 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-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 +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 @@ -28,4 +28,4 @@ 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 style/ +$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/style/graphics/button-a.gif b/docs/xml-docs/skins/xml.apache.org/graphics/button-a.gif Binary files differindex 5d0b8c242..5d0b8c242 100644 --- a/docs/xml-docs/style/graphics/button-a.gif +++ b/docs/xml-docs/skins/xml.apache.org/graphics/button-a.gif diff --git a/docs/xml-docs/style/graphics/button-b.gif b/docs/xml-docs/skins/xml.apache.org/graphics/button-b.gif Binary files differindex 06e03811a..06e03811a 100644 --- a/docs/xml-docs/style/graphics/button-b.gif +++ b/docs/xml-docs/skins/xml.apache.org/graphics/button-b.gif diff --git a/docs/xml-docs/style/loader.xml b/docs/xml-docs/skins/xml.apache.org/loader.xml index 3bb469dd2..3bb469dd2 100644 --- a/docs/xml-docs/style/loader.xml +++ b/docs/xml-docs/skins/xml.apache.org/loader.xml 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 differnew file mode 100644 index 000000000..c6356a004 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-bottom.gif 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 differnew file mode 100644 index 000000000..0091cdf39 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-left.gif 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 differnew file mode 100644 index 000000000..4970d9f25 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-right.gif 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 differnew file mode 100644 index 000000000..a0e707dc9 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-top.gif 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 differnew file mode 100644 index 000000000..2223fde26 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-left.gif 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 differnew file mode 100644 index 000000000..7110336c8 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-right.gif 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 differnew file mode 100644 index 000000000..4a2f7da99 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-top-left.gif 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 differnew file mode 100644 index 000000000..5256292d7 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-top-right.gif diff --git a/docs/xml-docs/style/resources/bottom.gif b/docs/xml-docs/skins/xml.apache.org/resources/bottom.gif Binary files differindex f39031efa..bc5b8cbb9 100644 --- a/docs/xml-docs/style/resources/bottom.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/bottom.gif diff --git a/docs/xml-docs/style/resources/button-asf-hi.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-asf-hi.gif Binary files differindex 08b880a74..2c52e3763 100644 --- a/docs/xml-docs/style/resources/button-asf-hi.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-asf-hi.gif diff --git a/docs/xml-docs/style/resources/button-asf-lo.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-asf-lo.gif Binary files differindex 134580f37..50afd7dd6 100644 --- a/docs/xml-docs/style/resources/button-asf-lo.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-asf-lo.gif diff --git a/docs/xml-docs/style/resources/button-w3c-hi.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-hi.gif Binary files differindex 3bf0be395..e12862568 100644 --- a/docs/xml-docs/style/resources/button-w3c-hi.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-hi.gif diff --git a/docs/xml-docs/style/resources/button-w3c-lo.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-lo.gif Binary files differindex d383d3dd9..8b457db49 100644 --- a/docs/xml-docs/style/resources/button-w3c-lo.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-lo.gif diff --git a/docs/xml-docs/style/resources/button-xml-hi.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-xml-hi.gif Binary files differindex 01d095ce4..929310be8 100644 --- a/docs/xml-docs/style/resources/button-xml-hi.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-xml-hi.gif diff --git a/docs/xml-docs/style/resources/button-xml-lo.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-xml-lo.gif Binary files differindex 5719c7ef0..091ce8e96 100644 --- a/docs/xml-docs/style/resources/button-xml-lo.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-xml-lo.gif diff --git a/docs/xml-docs/style/resources/close.gif b/docs/xml-docs/skins/xml.apache.org/resources/close.gif Binary files differindex 48a9782ce..48a9782ce 100644 --- a/docs/xml-docs/style/resources/close.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/close.gif diff --git a/docs/xml-docs/style/resources/dot.gif b/docs/xml-docs/skins/xml.apache.org/resources/dot.gif Binary files differindex 6227d1d86..6227d1d86 100644 --- a/docs/xml-docs/style/resources/dot.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/dot.gif diff --git a/docs/xml-docs/style/resources/join.gif b/docs/xml-docs/skins/xml.apache.org/resources/join.gif Binary files differindex 02e7611bb..02e7611bb 100644 --- a/docs/xml-docs/style/resources/join.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/join.gif diff --git a/docs/xml-docs/style/resources/line.gif b/docs/xml-docs/skins/xml.apache.org/resources/line.gif Binary files differindex fd25c3943..3716c4cd0 100644 --- a/docs/xml-docs/style/resources/line.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/line.gif diff --git a/docs/xml-docs/style/resources/logo.gif b/docs/xml-docs/skins/xml.apache.org/resources/logo.gif Binary files differindex 53538c3f6..53538c3f6 100644 --- a/docs/xml-docs/style/resources/logo.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/logo.gif 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 differnew file mode 100644 index 000000000..83ce9ec31 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/note.gif diff --git a/docs/xml-docs/style/resources/right.gif b/docs/xml-docs/skins/xml.apache.org/resources/right.gif Binary files differindex bcb50e386..bcb50e386 100644 --- a/docs/xml-docs/style/resources/right.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/right.gif diff --git a/docs/xml-docs/style/resources/script.js b/docs/xml-docs/skins/xml.apache.org/resources/script.js index ebadeb2b8..1bf24c79c 100644 --- a/docs/xml-docs/style/resources/script.js +++ b/docs/xml-docs/skins/xml.apache.org/resources/script.js @@ -2,15 +2,11 @@ rolloverImagesOn=new Array(); rolloverImagesOff=new Array(); function rolloverOn(name) { - if(rolloverImagesOn[name]){ - document.images[name].src=rolloverImagesOn[name].src; - } + document.images[name].src=rolloverImagesOn[name].src; } function rolloverOff(name) { - if(rolloverImagesOff[name]){ - document.images[name].src=rolloverImagesOff[name].src; - } + document.images[name].src=rolloverImagesOff[name].src; } function rolloverLoad(name,on,off) { diff --git a/docs/xml-docs/style/resources/separator.gif b/docs/xml-docs/skins/xml.apache.org/resources/separator.gif Binary files differindex e7749432f..e7749432f 100644 --- a/docs/xml-docs/style/resources/separator.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/separator.gif diff --git a/docs/xml-docs/style/resources/void.gif b/docs/xml-docs/skins/xml.apache.org/resources/void.gif Binary files differindex 75b945d25..75b945d25 100644 --- a/docs/xml-docs/style/resources/void.gif +++ b/docs/xml-docs/skins/xml.apache.org/resources/void.gif diff --git a/docs/xml-docs/style/stylesheets/book2project.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/book2project.xsl index 2ac09c0ce..1cb768073 100644 --- a/docs/xml-docs/style/stylesheets/book2project.xsl +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/book2project.xsl @@ -1,16 +1,15 @@ <?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> - - <xsl:template match="/"> - <xsl:apply-templates/> - </xsl:template> +<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"> @@ -29,38 +28,10 @@ <!-- CREATE THE TARGET HTML --> <!-- ********************************************************************** --> - <xsl:template match="document"> - - <process source="{@source}" producer="parser"> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.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/document2html.xsl"/> - </processor> - </create> - </xsl:template> - - <xsl:template match="hidden"> - + <xsl:template match="page|hidden"> <process source="{@source}" producer="parser"> <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/> + <parameter name="stylesheet" value="sbk:/style/stylesheets/scan4resources.xsl"/> </processor> </process> @@ -70,6 +41,13 @@ <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}"/> @@ -78,11 +56,10 @@ </create> </xsl:template> - <xsl:template match="faqs"> - + <xsl:template match="spec"> <process source="{@source}" producer="parser"> <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/> + <parameter name="stylesheet" value="sbk:/style/stylesheets/scan4resources.xsl"/> </processor> </process> @@ -96,57 +73,30 @@ <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/faqs2document.xsl"/> - </processor> - <processor name="xslt"> <parameter name="id" value="{@id}"/> - <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/> + <parameter name="stylesheet" value="sbk:/style/stylesheets/spec2html.xsl"/> </processor> </create> - </xsl:template> - - <xsl:template match="changes"> - + + <xsl:template match="changes|faqs|todo"> <process source="{@source}" producer="parser"> <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.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="stylesheet" value="sbk:/style/stylesheets/changes2document.xsl"/> + <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"/> + <parameter name="stylesheet" value="sbk:/style/stylesheets/scan4resources.xsl"/> </processor> - </create> - - </xsl:template> - - <xsl:template match="group"> - <xsl:apply-templates/> + </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"> @@ -154,55 +104,24 @@ <xsl:with-param name="label" select="@label"/> </xsl:call-template> - <create source="" target="{@id}.html" producer="project" printer="html"> - <parameter name="id" value="{@id}"/> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/book2group.xsl"/> - </processor> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/group2document.xsl"/> - </processor> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/> - </processor> - </create> - - </xsl:template> - - <xsl:template match="entry"> - - <process source="{@source}" producer="parser"> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.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> - <create source="{@source}" target="{@id}.html" producer="parser" printer="html"> <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/faqs2document.xsl"/> + <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 --> <!-- ********************************************************************** --> @@ -212,11 +131,16 @@ <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="label" value="{$label}"/> - <parameter name="stylesheet" value="sbk:/style/stylesheets/any2header.xsl"/> + <parameter name="stylesheet" value="sbk:/style/stylesheets/document2image.xsl"/> </processor> </create> </xsl:template> @@ -254,4 +178,4 @@ </create> </xsl:template> -</xsl:stylesheet>
\ No newline at end of file +</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 new file mode 100644 index 000000000..edcd4e0d0 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/changes2document.xsl @@ -0,0 +1,56 @@ +<?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/style/stylesheets/context2label.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/context2label.xsl index 91b074a39..de5a14bd3 100644 --- a/docs/xml-docs/style/stylesheets/context2label.xsl +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/context2label.xsl @@ -1,14 +1,12 @@ <?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/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="/"> - <xsl:apply-templates/> - </xsl:template> - <xsl:template match="context"> <image source="{$image}"> <xsl:apply-templates/> @@ -22,4 +20,4 @@ </xsl:if> </xsl:template> -</xsl:stylesheet>
\ No newline at end of file +</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 new file mode 100644 index 000000000..5ef559c57 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/copyover.xsl @@ -0,0 +1,13 @@ +<?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 new file mode 100644 index 000000000..0e03dc892 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/directory2project.xsl @@ -0,0 +1,21 @@ +<?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 new file mode 100644 index 000000000..590560c59 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2html.xsl @@ -0,0 +1,488 @@ +<?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 new file mode 100644 index 000000000..8416505ce --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2image.xsl @@ -0,0 +1,22 @@ +<?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/style/stylesheets/any2project.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2project.xsl index d1253f11e..619ec8344 100644 --- a/docs/xml-docs/style/stylesheets/any2project.xsl +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2project.xsl @@ -1,8 +1,8 @@ <?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> - - <xsl:param name="label"/> +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> <xsl:template match="/"> <project> @@ -10,12 +10,12 @@ </project> </xsl:template> - <xsl:template match="img"> - <resource source="{@src}" target="images/{@src}"/> + <xsl:template match="img|figure|icon"> + <resource source="{@src}" target="{@src}"/> </xsl:template> <xsl:template match="node()"> <xsl:apply-templates/> </xsl:template> -</xsl:stylesheet>
\ No newline at end of file +</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 new file mode 100644 index 000000000..46383760c --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/faqs2document.xsl @@ -0,0 +1,50 @@ +<?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 new file mode 100644 index 000000000..34d44e331 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/scan4resources.xsl @@ -0,0 +1,21 @@ +<?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 new file mode 100644 index 000000000..45b98dcb2 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/spec2html.xsl @@ -0,0 +1,119 @@ +<?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 new file mode 100644 index 000000000..3c063e07e --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/todo2document.xsl @@ -0,0 +1,33 @@ +<?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/style/resources/note.gif b/docs/xml-docs/style/resources/note.gif Binary files differdeleted file mode 100644 index 339422266..000000000 --- a/docs/xml-docs/style/resources/note.gif +++ /dev/null diff --git a/docs/xml-docs/style/stylesheets/any2header.xsl b/docs/xml-docs/style/stylesheets/any2header.xsl deleted file mode 100644 index 29cdf075f..000000000 --- a/docs/xml-docs/style/stylesheets/any2header.xsl +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> - - <xsl:param name="label"/> - - <xsl:template match="/"> - <image width="456" height="35" bgcolor="0086b2"> - <xsl:apply-templates/> - </image> - </xsl:template> - - <xsl:template match="s1|faqs|changes"> - <xsl:variable name="title"> - <xsl:if test="string-length(@title)=0"> - <xsl:value-of select="$label"/> - </xsl:if> - <xsl:if test="string-length(@title)>0"> - <xsl:value-of select="@title"/> - </xsl:if> - </xsl:variable> - - <text font="Arial" size="29" x="454" y="8" halign="right" valign="top" color="004080" - text="{$title}"/> - <text font="Arial" size="29" x="452" y="6" halign="right" valign="top" color="ffffff" - text="{$title}"/> - </xsl:template> - -</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/xml-docs/style/stylesheets/book2group.xsl b/docs/xml-docs/style/stylesheets/book2group.xsl deleted file mode 100644 index 1c1f0498b..000000000 --- a/docs/xml-docs/style/stylesheets/book2group.xsl +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> - - <xsl:param name="id"/> - - <xsl:template match="/"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="book"> - <group title="{group[attribute::id=$id]/@label}"> - <xsl:apply-templates select="group[attribute::id=$id]/entry"/> - </group> - </xsl:template> - - <xsl:template match="entry"> - <entry id="{@id}" title="{document(concat('sbk:/sources/',@source))/faqs/@title}"> - <xsl:apply-templates select="document(concat('sbk:/sources/',@source))/faqs/faq"/> - </entry> - </xsl:template> - - <xsl:template match="faq"> - <voice> - <xsl:if test="string-length(@title)=0"> - <xsl:value-of select="q"/> - </xsl:if> - <xsl:if test="string-length(@title)>0"> - <xsl:value-of select="@title"/> - </xsl:if> - </voice> - </xsl:template> - -</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/xml-docs/style/stylesheets/changes2document.xsl b/docs/xml-docs/style/stylesheets/changes2document.xsl deleted file mode 100644 index ed1f3f321..000000000 --- a/docs/xml-docs/style/stylesheets/changes2document.xsl +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> - - <xsl:template match="/"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="changes"> - <s1 title="{@title}"> - <xsl:apply-templates/> - </s1> - </xsl:template> - - <xsl:template match="release"> - <s2 title="Release {@version} {@date}"> - <br/><xsl:apply-templates/> - </s2> - </xsl:template> - - <xsl:template match="features"> - <s3 title="Features"> - <ul><xsl:apply-templates/></ul> - </s3> - </xsl:template> - - <xsl:template match="fixes"> - <s3 title="Bugs fixed"> - <ul><xsl:apply-templates/></ul> - </s3> - </xsl:template> - - <xsl:template match="feat|fix"> - <li><xsl:apply-templates/></li> - </xsl:template> - - <xsl:template match="@*|node()"> - <xsl:copy> - <xsl:apply-templates select="@*|node()"/> - </xsl:copy> - </xsl:template> - -</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/xml-docs/style/stylesheets/context2footer.xsl b/docs/xml-docs/style/stylesheets/context2footer.xsl deleted file mode 100644 index 2fc8d5f9a..000000000 --- a/docs/xml-docs/style/stylesheets/context2footer.xsl +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> - - <xsl:template match="/"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="context"> - <image source="sbk:/style/graphics/footer.gif"> - <xsl:apply-templates/> - </image> - </xsl:template> - - <xsl:template match="parameter"> - <xsl:if test="@name='copyright'"> - <text font="Arial Bold" size="11" x="124" y="6" style="plain" - halign="left" valign="top" color="666699" - text="Copyright © {@value}. All Rights Reserved."/> - <text font="Arial Bold" size="11" x="123" y="5" style="plain" - halign="left" valign="top" color="333366" - text="Copyright © {@value}. All Rights Reserved."/> - <text font="Arial Bold" size="11" x="122" y="4" style="plain" - halign="left" valign="top" color="ffffff" - text="Copyright © {@value}. All Rights Reserved."/> - </xsl:if> - </xsl:template> - -</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/xml-docs/style/stylesheets/directory2project.xsl b/docs/xml-docs/style/stylesheets/directory2project.xsl deleted file mode 100644 index 4995828df..000000000 --- a/docs/xml-docs/style/stylesheets/directory2project.xsl +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> - - <xsl:param name="base"/> - - <xsl:template match="/"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="directory"> - <project> - <xsl:apply-templates/> - </project> - </xsl:template> - - <xsl:template match="entry"> - - <xsl:if test="@directory!='true'"> - <resource source="{@href}" target="{$base}{@href}"/> - </xsl:if> -<!-- don't copy subdir to avoid copying proprietary CVS files - <xsl:if test="@directory='true'"> - <process source="{@href}" producer="directory"> - <processor name="xslt"> - <parameter name="stylesheet" value="sbk:/style/stylesheets/directory2project.xsl"/> - <parameter name="base" value="{$base}{@href}"/> - </processor> - </process> - </xsl:if> ---> - </xsl:template> - -</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/xml-docs/style/stylesheets/document2html.xsl b/docs/xml-docs/style/stylesheets/document2html.xsl deleted file mode 100644 index a3f924793..000000000 --- a/docs/xml-docs/style/stylesheets/document2html.xsl +++ /dev/null @@ -1,444 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> - - <xsl:param name="stylebook.project"/> - <xsl:param name="copyright"/> - <xsl:param name="id"/> - - <xsl:template match="/"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="s1"> - <html> - <head> - <script language="JavaScript" type="text/javascript" src="resources/script.js"/> - <title><xsl:value-of select="@title"/></title> - </head> - <body text="#000000" link="#0000ff" vlink="#0000aa" alink="#ff0000" - topmargin="4" leftmargin="4" marginwidth="4" marginheight="4" - bgcolor="#ffffff"> - <!-- THE TOP BAR (HEADER) --> - <table width="620" 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="456" height="5" valign="top" align="left" colspan="4"> - <img width="456" height="5" src="resources/line.gif" hspace="0" vspace="0" border="0"/></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="456" height="35" valign="top" align="left" colspan="4" bgcolor="#0086b2"> - <img src="graphics/{$id}-header.jpg" width="456" height="35" hspace="0" vspace="0" border="0" alt="{s1/@title}"/></td> - </tr> - <tr> - <td width="168" height="20" valign="top" align="left"> - <img width="168" height="20" src="resources/bottom.gif" hspace="0" vspace="0" border="0"/></td> - <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> - <!-- THE MAIN PANEL (SIDEBAR AND CONTENT) --> - <table width="620" 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="500" valign="top" align="left"> - <table border="0" cellspacing="0" cellpadding="3"> - <tr><td><xsl:apply-templates/></td></tr> - </table> - </td> - </tr> - </table><br/> - <table width="620" 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 size="-1" color="#0086b2"><i> - Copyright © <xsl:value-of select="$copyright"/>. - All Rights Reserved. - </i></font></td> - </tr> - </table> - </body> - </html> - </xsl:template> - -<!-- ###################################################################### --> -<!-- book --> - - <xsl:template match="book"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="document|faqs|changes|group"> - <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> - - -<!-- ###################################################################### --> -<!-- document --> - - <xsl:template match="s2"> - <table width="494" cellspacing="0" cellpadding="0" border="0"> - <tr> - <td bgcolor="666699" colspan="2" width="494"> - <table width="494" cellspacing="0" cellpadding="0" border="0"> - <tr> - <td bgcolor="#039acc" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#039acc" width="492" height="1"><img src="resources/void.gif" width="492" 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="#039acc" width="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#0086b2" width="492"> - <font size="+1" face="arial,helvetica,sanserif" color="#ffffff"> - <img src="resources/void.gif" width="2" height="2" vspace="0" hspace="0" border="0"/> - <b><xsl:value-of select="@title"/></b> - </font> - </td> - <td bgcolor="#017299" 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="#017299" width="492" height="1"><img src="resources/void.gif" width="492" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#017299" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - </tr> - </table> - </td> - </tr> - <tr> - <td width="10"> </td> - <td width="484"> - <font face="arial,helvetica,sanserif" color="#000000"> - <xsl:apply-templates/> - </font> - </td> - </tr> - </table> - <br/> - </xsl:template> - - <xsl:template match="s3"> - <table width="484" cellspacing="0" cellpadding="0" border="0"> - <tr> - <td bgcolor="666699" colspan="2" width="484"> - <table width="484" cellspacing="0" cellpadding="0" border="0"> - <tr> - <td bgcolor="#039acc" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#039acc" width="482" height="1"><img src="resources/void.gif" width="482" 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="#039acc" width="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#0086b2" width="482"> - <font face="arial,helvetica,sanserif" color="#ffffff"> - <img src="resources/void.gif" width="2" height="2" vspace="0" hspace="0" border="0"/> - <b><xsl:value-of select="@title"/></b> - </font> - </td> - <td bgcolor="#017299" 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="#017299" width="482" height="1"><img src="resources/void.gif" width="482" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#017299" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - </tr> - </table> - </td> - </tr> - <tr> - <td width="10"> </td> - <td width="474"> - <font size="-1" face="arial,helvetica,sanserif" color="#000000"> - <xsl:apply-templates/> - </font> - </td> - </tr> - </table> - <br/> - </xsl:template> - - <xsl:template match="s4"> - <table width="474" cellspacing="0" cellpadding="0" border="0"> - <tr> - <td bgcolor="666699" colspan="2" width="484"> - <table width="474" cellspacing="0" cellpadding="0" border="0"> - <tr> - <td bgcolor="#039acc" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#039acc" width="472" height="1"><img src="resources/void.gif" width="472" 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="#039acc" width="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#0086b2" width="472"> - <font size="-1" face="arial,helvetica,sanserif" color="#ffffff"> - <img src="resources/void.gif" width="2" height="2" vspace="0" hspace="0" border="0"/> - <b><xsl:value-of select="@title"/></b> - </font> - </td> - <td bgcolor="#017299" 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="#017299" width="472" height="1"><img src="resources/void.gif" width="472" height="1" vspace="0" hspace="0" border="0"/></td> - <td bgcolor="#017299" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> - </tr> - </table> - </td> - </tr> - <tr> - <td width="10"> </td> - <td width="464"> - <font size="-1" face="arial,helvetica,sanserif" color="#000000"> - <xsl:apply-templates/> - </font> - </td> - </tr> - </table> - <br/> - </xsl:template> - -<!-- ###################################################################### --> -<!-- blocks --> - - <xsl:template match="p"> - <p><xsl:apply-templates/></p> - </xsl:template> - - <xsl:template match="note"> - <table width="100%" cellspacing="3" cellpadding="0" border="0"> - <tr> - <td width="20" valign="top"> - <img src="resources/note.gif" width="20" height="24" 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> - </xsl:template> - - <xsl:template match="ul"> - <ul><xsl:apply-templates/></ul> - </xsl:template> - - <xsl:template match="ol"> - <ol><xsl:apply-templates/></ol> - </xsl:template> - - <xsl:template match="li"> - <li><xsl:apply-templates/></li> - </xsl:template> - - <!--Definition lists: gloss, term, label, item --> - <xsl:template match="gloss"> - <dl><xsl:apply-templates/></dl> - </xsl:template> - <!-- <term> contains a single-word, multi-word or symbolic - designation which is regarded as a technical term. --> - <xsl:template match="term"> - <dfn><xsl:apply-templates/></dfn> - </xsl:template> - <xsl:template match="label" priority="1"> - <dt><xsl:apply-templates/></dt> - </xsl:template> - <xsl:template match="item" priority="2"> - <dd> - <xsl:apply-templates/> - </dd> - </xsl:template> - - <xsl:template match="source"> - <div align="right"> - <table width="464" 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" width="462" height="1"><img src="resources/void.gif" width="462" 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" width="462"> - <font size="-1"><pre><xsl:apply-templates/></pre></font> - </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" width="462" height="1"><img src="resources/void.gif" width="462" 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="table"> - <table width="100%" border="0" cellspacing="2" cellpadding="2"> - <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> - -<!-- ###################################################################### --> -<!-- markup --> - - <xsl:template match="em"> - <b><xsl:apply-templates/></b> - </xsl:template> - - <xsl:template match="ref"> - <i><xsl:apply-templates/></i> - </xsl:template> - - <xsl:template match="code"> - <code><font face="courier, monospaced"><xsl:apply-templates/></font></code> - </xsl:template> - - <xsl:template match="br"> - <br/> - </xsl:template> - -<!-- ###################################################################### --> -<!-- links --> - - <xsl:template match="link"> - <xsl:if test="string-length(@anchor)=0"> - <xsl:if test="string-length(@idref)=0"> - <xsl:apply-templates/> - </xsl:if> - <xsl:if test="string-length(@idref)>0"> - <a href="{@idref}.html"><xsl:apply-templates/></a> - </xsl:if> - </xsl:if> - - <xsl:if test="string-length(@anchor)>0"> - <xsl:if test="string-length(@idref)=0"> - <a href="#{@anchor}"><xsl:apply-templates/></a> - </xsl:if> - <xsl:if test="string-length(@idref)>0"> - <a href="{@idref}.html#{@anchor}"><xsl:apply-templates/></a> - </xsl:if> - </xsl:if> - </xsl:template> - - <xsl:template match="anchor"> - <a name="{@name}"><xsl:comment>anchor</xsl:comment></a> - </xsl:template> - - <xsl:template match="jump"> - <a href="{@href}"><xsl:apply-templates/></a> - </xsl:template> - - <xsl:template match="img"> - <img src="images/{@src}" border="0" vspace="4" hspace="4" align="right"/> - </xsl:template> - - <xsl:template match="resource-ref"> - <xsl:variable name="resourceFile" - select="document($stylebook.project)/book/resources/@source"/> - <xsl:variable name="xref" select="@idref"/> - <xsl:variable name="href" - select="document($resourceFile)/resources/resource[@id=$xref]/@location"/> - <xsl:variable name="label" - select="document($resourceFile)/resources/resource[@id=$xref]/@title"/> - <A href="{$href}" target="_top"><xsl:value-of select="$label"/></A> - </xsl:template> - - <xsl:template match="human-resource-ref"> - <xsl:variable name="resourceFile" - select="document($stylebook.project)/book/resources/@source"/> - <xsl:variable name="ref" select="@idref"/> - <xsl:variable name="mailto" - select="document($resourceFile)/resources/human-resource[@id=$ref]/@mailto"/> - <xsl:variable name="name" - select="document($resourceFile)/resources/human-resource[@id=$ref]/@name"/> - <A href="mailto:{$mailto}"><xsl:value-of select="$name"/></A> - </xsl:template> - -<!-- ###################################################################### --> -<!-- copy - - <xsl:template match="@*|node()"> - <xsl:copy> - <xsl:apply-templates select="@*|node()"/> - </xsl:copy> - </xsl:template> ---> -</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/xml-docs/style/stylesheets/faqs2document.xsl b/docs/xml-docs/style/stylesheets/faqs2document.xsl deleted file mode 100644 index 4a9d3938e..000000000 --- a/docs/xml-docs/style/stylesheets/faqs2document.xsl +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> - - <xsl:template match="/"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="faqs"> - <s1 title="{@title}"> - <s2 title="Questions"> - <ul> - <xsl:apply-templates select="faq" mode="index"/> - </ul> - </s2> - <s2 title="Answers"> - <br/> - <xsl:apply-templates select="faq"/> - </s2> - </s1> - </xsl:template> - - <xsl:template match="faq" mode="index"> - <li> - <link anchor="faq-{position()}"> - <xsl:if test="string-length(@title)=0"> - <xsl:value-of select="q"/> - </xsl:if> - <xsl:if test="string-length(@title)>0"> - <xsl:value-of select="@title"/> - </xsl:if> - </link> - </li> - </xsl:template> - - <xsl:template match="faq"> - <anchor name="faq-{position()}"/> - <s3 title="{q}"> - <xsl:apply-templates select="a"/> - </s3> - </xsl:template> - - <xsl:template match="a"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="@*|node()"> - <xsl:copy> - <xsl:apply-templates select="@*|node()"/> - </xsl:copy> - </xsl:template> - -</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/xml-docs/style/stylesheets/group2document.xsl b/docs/xml-docs/style/stylesheets/group2document.xsl deleted file mode 100644 index 533fa9216..000000000 --- a/docs/xml-docs/style/stylesheets/group2document.xsl +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0"?> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> - - <xsl:template match="/"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="group"> - <s1 title="{@title}"> - <xsl:apply-templates/> - </s1> - </xsl:template> - - <xsl:template match="entry"> - <s2 title="{@title}"> - <p> - Read the <link idref="{@id}"><xsl:value-of select="@title"/></link> - document or jump directly to: - </p> - <ul> - <xsl:apply-templates/> - </ul> - </s2> - </xsl:template> - - <xsl:template match="voice"> - <li><link idref="{ancestor::*/@id}" anchor="faq-{position()}"><xsl:apply-templates/></link></li> - </xsl:template> - -</xsl:stylesheet>
\ No newline at end of file |