Initial import
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/xerces-c-3.0.0@1 b431acfa-c32f-4a4a-93f1-934dc6c82436
@@ -0,0 +1,40 @@
|
||||
<?xml encoding='ISO-8859-1'?>
|
||||
|
||||
<!-- BLOCKS ENTITY -->
|
||||
<!ENTITY % blocks "p|note|ul|ol|gloss|table|source|anchor">
|
||||
|
||||
<!-- import the external markup.ent dtd -->
|
||||
<!ENTITY % markupEntity SYSTEM "markup.ent">
|
||||
%markupEntity;
|
||||
|
||||
<!ENTITY % content "(#PCDATA|%markup;|%links;)*">
|
||||
|
||||
<!ELEMENT p %content;>
|
||||
<!ELEMENT note %content;>
|
||||
|
||||
<!ELEMENT ul (li|ol|ul)+>
|
||||
<!ELEMENT ol (li|ol|ul)+>
|
||||
<!ELEMENT li %content;>
|
||||
|
||||
<!ELEMENT gloss (label|item)+>
|
||||
<!ELEMENT label %content;>
|
||||
<!ELEMENT item %content;>
|
||||
|
||||
<!ELEMENT source (#PCDATA)>
|
||||
|
||||
<!ELEMENT table (tr)+>
|
||||
|
||||
<!ELEMENT tr (tn|th|td)+>
|
||||
|
||||
<!ELEMENT tn EMPTY>
|
||||
<!ATTLIST tn colspan CDATA "1"
|
||||
rowspan CDATA "1">
|
||||
|
||||
<!ELEMENT th %content;>
|
||||
<!ATTLIST th colspan CDATA "1"
|
||||
rowspan CDATA "1">
|
||||
|
||||
<!ELEMENT td %content;>
|
||||
<!ATTLIST td colspan CDATA "1"
|
||||
rowspan CDATA "1">
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
<?xml encoding='ISO-8859-1'?>
|
||||
|
||||
<!-- STYLEBOOK BOOK DTD -->
|
||||
|
||||
<!-- import the external source-specific dtd -->
|
||||
<!ENTITY % externalEntity SYSTEM "entities.ent">
|
||||
%externalEntity;
|
||||
|
||||
<!ELEMENT book (resources?|document|hidden|faqs|changes|group|container|external|section|separator|separator-space)+>
|
||||
<!ATTLIST book title CDATA #REQUIRED
|
||||
copyright CDATA #IMPLIED>
|
||||
|
||||
<!ELEMENT resources EMPTY>
|
||||
<!ATTLIST resources source CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT document EMPTY>
|
||||
<!ATTLIST document id ID #REQUIRED
|
||||
source CDATA #REQUIRED
|
||||
label CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT hidden EMPTY>
|
||||
<!ATTLIST hidden id ID #REQUIRED
|
||||
source CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT faqs EMPTY>
|
||||
<!ATTLIST faqs id ID #REQUIRED
|
||||
source CDATA #REQUIRED
|
||||
label CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT changes EMPTY>
|
||||
<!ATTLIST changes id ID #REQUIRED
|
||||
source CDATA #REQUIRED
|
||||
label CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT group (entry)+>
|
||||
<!ATTLIST group id ID #IMPLIED
|
||||
label CDATA #REQUIRED
|
||||
title CDATA #IMPLIED>
|
||||
|
||||
<!ELEMENT container (entry)+>
|
||||
<!ATTLIST container id ID #IMPLIED
|
||||
source CDATA #REQUIRED
|
||||
label CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT entry EMPTY>
|
||||
<!ATTLIST entry id ID #REQUIRED
|
||||
source CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT external EMPTY>
|
||||
<!ATTLIST external label CDATA #REQUIRED
|
||||
href CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT section EMPTY>
|
||||
<!ATTLIST section label CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT separator EMPTY>
|
||||
|
||||
<!ELEMENT separator-space EMPTY>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml encoding='ISO-8859-1'?>
|
||||
|
||||
<!-- STYLEBOOK CHANGES DTD -->
|
||||
|
||||
<!-- import the external markup.ent dtd -->
|
||||
<!ENTITY % markupEntity SYSTEM "markup.ent">
|
||||
%markupEntity;
|
||||
|
||||
<!ENTITY % content "(#PCDATA|%markup;|%links;)*">
|
||||
|
||||
<!ELEMENT changes (release)+>
|
||||
<!ATTLIST changes title CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT release ((features,fixes)|(features)|(fixes))>
|
||||
<!ATTLIST release version CDATA #REQUIRED
|
||||
date CDATA #IMPLIED>
|
||||
|
||||
<!ELEMENT features (feat)+>
|
||||
<!ELEMENT fixes (fix)+>
|
||||
|
||||
<!ELEMENT feat %content;>
|
||||
<!ELEMENT fix %content;>
|
||||
|
||||
<!-- CVS $Revision: 173497 $ $Date: 2002-02-13 21:49:41 +0200 (Wed, 13 Feb 2002) $ -->
|
||||
@@ -0,0 +1,297 @@
|
||||
<?xml encoding='ISO-8859-1'?>
|
||||
|
||||
<!-- CHARACTERS ENTITY -->
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
|
||||
<!-- C0 Controls and Basic Latin -->
|
||||
<!ENTITY quot """> <!-- U+0022 ISOnum - quotation mark = APL quote -->
|
||||
<!ENTITY amp "&"> <!-- U+0026 ISOnum - ampersand -->
|
||||
<!ENTITY lt "<"> <!-- U+003C ISOnum - less-than sign -->
|
||||
<!ENTITY gt ">"> <!-- U+003E ISOnum - greater-than sign -->
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
<!-- CVS $Revision: 173497 $ $Date: 2002-02-13 21:49:41 +0200 (Wed, 13 Feb 2002) $ -->
|
||||
|
||||
<!-- 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. -->
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml encoding='ISO-8859-1'?>
|
||||
|
||||
<!-- STYLEBOOK DOCUMENT DTD -->
|
||||
|
||||
<!-- import the external blocks.ent dtd -->
|
||||
<!ENTITY % blocksEntity SYSTEM "blocks.ent">
|
||||
%blocksEntity;
|
||||
|
||||
<!ELEMENT s1 (s2|%blocks;)*>
|
||||
<!ELEMENT s2 (s3|%blocks;)*>
|
||||
<!ELEMENT s3 (s4|%blocks;)*>
|
||||
<!ELEMENT s4 (%blocks;)*>
|
||||
|
||||
<!ATTLIST s1 title CDATA #REQUIRED>
|
||||
<!ATTLIST s2 title CDATA #REQUIRED>
|
||||
<!ATTLIST s3 title CDATA #REQUIRED>
|
||||
<!ATTLIST s4 title CDATA #REQUIRED>
|
||||
|
||||
<!-- CVS $Revision: 173497 $ $Date: 2002-02-13 21:49:41 +0200 (Wed, 13 Feb 2002) $ -->
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml encoding="ISO-8859-1"?>
|
||||
|
||||
<!ENTITY XercesCProjectName "Xerces"> <!-- projectname -->
|
||||
<!ENTITY XercesCFullName "Xerces C++ XML Parser"> <!-- fullproductname -->
|
||||
<!ENTITY XercesCName "Xerces-C++"> <!-- productname -->
|
||||
|
||||
<!ENTITY XercesC3Series "3"> <!-- release series -->
|
||||
<!ENTITY XercesC3Version "3.0.0"> <!-- 3-series version number -->
|
||||
<!ENTITY XercesC3InstallDir "xerces-c-3.0.0"> <!-- installdirname -->
|
||||
<!ENTITY XercesC3SrcInstallDir "xerces-c-3.0.0"> <!-- sourcedirectory -->
|
||||
<!ENTITY XercesC3ToolsInstallDir "xerces-c-tools-3.0.0"> <!-- sourcedirectory -->
|
||||
<!ENTITY XercesC3WindowsLib "xerces-c_3"> <!-- windowslibname -->
|
||||
<!ENTITY XercesC3WindowsDLL "xerces-c_3_0"> <!-- windowsDLLname -->
|
||||
<!ENTITY XercesC3UnixSoVersion "3.0"> <!-- unixlibversion -->
|
||||
<!ENTITY XercesC3UnixLib "libxerces-c"> <!-- unixlibname -->
|
||||
<!ENTITY XercesC3Namespace "xercesc"> <!-- C++ namespace name -->
|
||||
<!ENTITY XercesC3NSVersion "xercesc_3_0"> <!-- C++ namespace name with Version -->
|
||||
|
||||
|
||||
<!ENTITY HelpURI "http://xerces.apache.org/xerces-c/feedback.html"> <!-- help and feedback -->
|
||||
<!ENTITY BugURI "http://xerces.apache.org/xerces-c/bug-report.html"> <!-- bug reporting -->
|
||||
<!ENTITY MailURI "http://xerces.apache.org/xerces-c/mailing-lists.html"> <!-- mailing lists -->
|
||||
<!ENTITY RepURI "http://xerces.apache.org/xerces-c/source-repository.html"> <!-- mailing lists -->
|
||||
|
||||
<!ENTITY colon ":">
|
||||
<!ENTITY percent "%">
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml encoding='ISO-8859-1'?>
|
||||
|
||||
<!-- STYLEBOOK FAQS DTD -->
|
||||
|
||||
<!-- import the external blocks.ent dtd -->
|
||||
<!ENTITY % blocksEntity SYSTEM "blocks.ent">
|
||||
%blocksEntity;
|
||||
|
||||
<!ELEMENT faqs (faq)+>
|
||||
<!ATTLIST faqs title CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT faq (q,a)>
|
||||
<!ATTLIST faq title CDATA #IMPLIED>
|
||||
|
||||
|
||||
<!ELEMENT q (#PCDATA)>
|
||||
<!ELEMENT a (s3|%blocks;)+>
|
||||
<!ELEMENT s3 (%blocks;)*>
|
||||
|
||||
<!ATTLIST s3 title CDATA #REQUIRED>
|
||||
|
||||
<!-- CVS $Revision: 173497 $ $Date: 2002-02-13 21:49:41 +0200 (Wed, 13 Feb 2002) $ -->
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml encoding='ISO-8859-1'?>
|
||||
|
||||
<!-- LINKS ENTITY -->
|
||||
<!ENTITY % links "link|anchor|jump|img|resource-ref|human-resource-ref">
|
||||
|
||||
<!ELEMENT anchor EMPTY>
|
||||
<!ATTLIST anchor name NMTOKEN #REQUIRED>
|
||||
|
||||
<!ELEMENT img EMPTY>
|
||||
<!ATTLIST img src CDATA #REQUIRED
|
||||
alt CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT link (#PCDATA|img)*>
|
||||
<!ATTLIST link idref NMTOKEN #IMPLIED
|
||||
anchor CDATA #IMPLIED>
|
||||
|
||||
<!ELEMENT jump (#PCDATA|img)*>
|
||||
<!ATTLIST jump href CDATA #REQUIRED>
|
||||
|
||||
<!-- cross-reference resource elements -->
|
||||
<!ELEMENT resource-ref EMPTY>
|
||||
<!ATTLIST resource-ref idref CDATA #REQUIRED>
|
||||
<!ELEMENT human-resource-ref EMPTY>
|
||||
<!ATTLIST human-resource-ref idref CDATA #REQUIRED>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml encoding='ISO-8859-1'?>
|
||||
|
||||
<!-- MARKUP ENTITY -->
|
||||
<!ENTITY % markup "em|ref|code|br">
|
||||
|
||||
<!-- import the external source-specific dtd -->
|
||||
<!ENTITY % externalEntity SYSTEM "entities.ent">
|
||||
%externalEntity;
|
||||
<!-- import the external charecters.ent dtd -->
|
||||
<!ENTITY % charEntity SYSTEM "characters.ent">
|
||||
%charEntity;
|
||||
<!-- import the external links.ent dtd -->
|
||||
<!ENTITY % linksEntity SYSTEM "links.ent">
|
||||
%linksEntity;
|
||||
|
||||
<!ELEMENT em (#PCDATA|%links;)*>
|
||||
<!ELEMENT ref (#PCDATA|%links;)*>
|
||||
<!ELEMENT code (#PCDATA|%links;)*>
|
||||
<!ELEMENT br EMPTY>
|
||||
|
||||
<!-- CVS $Revision: 173497 $ $Date: 2002-02-13 21:49:41 +0200 (Wed, 13 Feb 2002) $ -->
|
||||
|
After Width: | Height: | Size: 179 B |
|
After Width: | Height: | Size: 154 B |
|
After Width: | Height: | Size: 133 B |
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!-- CVS $Revision: 173477 $ $Date: 2002-02-05 23:57:44 +0200 (Tue, 05 Feb 2002) $ -->
|
||||
|
||||
<loader>
|
||||
<processor name="xslt">
|
||||
<parameter name="stylesheet" value="sbk:/style/stylesheets/book2project.xsl"/>
|
||||
</processor>
|
||||
</loader>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 498 B |
|
After Width: | Height: | Size: 49 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 924 B |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 295 B |
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,21 @@
|
||||
rolloverImagesOn=new Array();
|
||||
rolloverImagesOff=new Array();
|
||||
|
||||
function rolloverOn(name) {
|
||||
if(rolloverImagesOn[name]){
|
||||
document.images[name].src=rolloverImagesOn[name].src;
|
||||
}
|
||||
}
|
||||
|
||||
function rolloverOff(name) {
|
||||
if(rolloverImagesOff[name]){
|
||||
document.images[name].src=rolloverImagesOff[name].src;
|
||||
}
|
||||
}
|
||||
|
||||
function rolloverLoad(name,on,off) {
|
||||
rolloverImagesOn[name]=new Image();
|
||||
rolloverImagesOn[name].src=on;
|
||||
rolloverImagesOff[name]=new Image();
|
||||
rolloverImagesOff[name].src=off;
|
||||
}
|
||||
|
After Width: | Height: | Size: 89 B |
|
After Width: | Height: | Size: 110 B |
|
After Width: | Height: | Size: 49 B |
@@ -0,0 +1,29 @@
|
||||
<?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="/">
|
||||
<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>
|
||||
@@ -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="label"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<project>
|
||||
<xsl:apply-templates/>
|
||||
</project>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="img">
|
||||
<resource source="{@src}" target="resources/{@src}"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="node()">
|
||||
<xsl:apply-templates/>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="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>
|
||||
@@ -0,0 +1,313 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates/>
|
||||
</xsl:template>
|
||||
|
||||
<!-- match the root book element -->
|
||||
<xsl:template match="book">
|
||||
<project>
|
||||
|
||||
<parameter name="copyright" value="{@copyright}"/>
|
||||
|
||||
<!-- copy all resources to the targets -->
|
||||
<process source="sbk:/style/resources/" producer="directory">
|
||||
<processor name="xslt">
|
||||
<parameter name="stylesheet" value="sbk:/style/stylesheets/directory2project.xsl"/>
|
||||
<parameter name="base" value="resources/"/>
|
||||
</processor>
|
||||
</process>
|
||||
|
||||
<xsl:apply-templates/>
|
||||
|
||||
</project>
|
||||
</xsl:template>
|
||||
|
||||
<!-- ********************************************************************** -->
|
||||
<!-- CREATE THE TARGET HTML -->
|
||||
<!-- ********************************************************************** -->
|
||||
|
||||
<xsl:template match="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">
|
||||
|
||||
<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="id" value="{@id}"/>
|
||||
<parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
|
||||
</processor>
|
||||
</create>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="faqs">
|
||||
|
||||
<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/faqs2document.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="changes">
|
||||
|
||||
<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"/>
|
||||
</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="group">
|
||||
<xsl:apply-templates/>
|
||||
|
||||
<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="" 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="container">
|
||||
|
||||
<xsl:apply-templates/>
|
||||
|
||||
<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="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"/>
|
||||
</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>
|
||||
|
||||
<xsl:template match="section">
|
||||
|
||||
<xsl:call-template name="sect-label">
|
||||
<xsl:with-param name="id" select="concat('sect-',position())"/>
|
||||
<xsl:with-param name="label" select="@label"/>
|
||||
</xsl:call-template>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
<!-- ********************************************************************** -->
|
||||
<!-- NAMED TEMPLATES -->
|
||||
<!-- ********************************************************************** -->
|
||||
|
||||
<!-- Generate the doument header image -->
|
||||
<xsl:template name="header">
|
||||
<xsl:param name="id"/>
|
||||
<xsl:param name="source"/>
|
||||
<xsl:param name="label"/>
|
||||
|
||||
<create source="{$source}" target="graphics/{$id}-header.jpg" producer="parser" printer="image">
|
||||
<processor name="xslt">
|
||||
<parameter name="label" value="{$label}"/>
|
||||
<parameter name="stylesheet" value="sbk:/style/stylesheets/any2header.xsl"/>
|
||||
</processor>
|
||||
</create>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Generate the three rollover label images -->
|
||||
<xsl:template name="labels">
|
||||
<xsl:param name="id"/>
|
||||
<xsl:param name="label"/>
|
||||
|
||||
<create source="" target="graphics/{$id}-label-1.jpg" producer="context" printer="image">
|
||||
<parameter name="label" value="{$label}"/>
|
||||
<processor name="xslt">
|
||||
<parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
|
||||
<parameter name="image" value="sbk:/style/graphics/button-a.gif"/>
|
||||
<parameter name="color" value="ffffff"/>
|
||||
</processor>
|
||||
</create>
|
||||
|
||||
<create source="" target="graphics/{$id}-label-2.jpg" producer="context" printer="image">
|
||||
<parameter name="label" value="{$label}"/>
|
||||
<processor name="xslt">
|
||||
<parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
|
||||
<parameter name="image" value="sbk:/style/graphics/button-b.gif"/>
|
||||
<parameter name="color" value="ffff00"/>
|
||||
</processor>
|
||||
</create>
|
||||
|
||||
<create source="" target="graphics/{$id}-label-3.jpg" producer="context" printer="image">
|
||||
<parameter name="label" value="{$label}"/>
|
||||
<processor name="xslt">
|
||||
<parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
|
||||
<parameter name="image" value="sbk:/style/graphics/button-b.gif"/>
|
||||
<parameter name="color" value="ffffff"/>
|
||||
</processor>
|
||||
</create>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Generate one bold section label -->
|
||||
<xsl:template name="sect-label">
|
||||
<xsl:param name="id"/>
|
||||
<xsl:param name="label"/>
|
||||
|
||||
<create source="" target="graphics/{$id}-label.jpg" producer="context" printer="image">
|
||||
<parameter name="label" value="{$label}"/>
|
||||
<processor name="xslt">
|
||||
<parameter name="stylesheet" value="sbk:/style/stylesheets/context2section.xsl"/>
|
||||
<parameter name="color" value="ffffff"/>
|
||||
</processor>
|
||||
</create>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="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>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="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>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:param name="image"/>
|
||||
<xsl:param name="color"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="context">
|
||||
<image source="{$image}">
|
||||
<xsl:apply-templates/>
|
||||
</image>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="parameter">
|
||||
<xsl:if test="@name='label'">
|
||||
<text font="Arial" size="12" x="14" y="1" halign="left"
|
||||
valign="top" color="{$color}" style="italic" text="{@value}"/>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:param name="color"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="context">
|
||||
<image source="sbk:/style/graphics/section.gif">
|
||||
<xsl:apply-templates/>
|
||||
</image>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="parameter">
|
||||
<xsl:if test="@name='label'">
|
||||
<text font="Arial" size="12" x="4" y="2" halign="left"
|
||||
valign="top" color="{$color}" style="bold" text="{@value}"/>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?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="/">
|
||||
<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>
|
||||
@@ -0,0 +1,460 @@
|
||||
<?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"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:apply-templates/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="s1">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf8"/>
|
||||
<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="resources/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|container">
|
||||
<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="section">
|
||||
<xsl:variable name="sectid" select="concat('sect-',position())"/>
|
||||
<img name="side-{$sectid}" src="graphics/{$sectid}-label.jpg" width="120" height="17" hspace="0" vspace="0" border="0" alt="{@label}"/>
|
||||
<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>
|
||||
|
||||
<xsl:template match="separator-space">
|
||||
<img src="resources/separator-space.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="ffffff" 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="ffffff" 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="ffffff" 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="left">
|
||||
<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="{@align}">
|
||||
<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="resources/{@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>
|
||||
|
||||
<!-- ###################################################################### -->
|
||||
|
||||
<!-- ignore -->
|
||||
<xsl:template match="form">
|
||||
<xsl:copy-of select="." />
|
||||
</xsl:template>
|
||||
|
||||
<!-- copy
|
||||
|
||||
<xsl:template match="@*|node()">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
-->
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="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>
|
||||
<br/>
|
||||
<xsl:apply-templates select="faq"/>
|
||||
</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()}"/>
|
||||
<s2 title="{q}">
|
||||
<xsl:apply-templates select="a"/>
|
||||
</s2>
|
||||
</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>
|
||||
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="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>
|
||||