X-Git-Url: http://git.projectaon.org/?a=blobdiff_plain;f=xml%2Fxhtml.xsl;h=c06c289523519ca6a534d9af6a068db805dc6813;hb=a3ba2f22e4b7d59a05035adc1f33bc409ef0599b;hp=468f0c1c8791b0c58fe49b4fc3734e3d107c975d;hpb=28d91f0601218e7460a3a51ef121df515c640c61;p=project-aon.git diff --git a/xml/xhtml.xsl b/xml/xhtml.xsl index 468f0c1..c06c289 100644 --- a/xml/xhtml.xsl +++ b/xml/xhtml.xsl @@ -1,6 +1,6 @@ + %xhtml.characters; ]> @@ -9,6 +9,48 @@ $Id$ $Log$ +Revision 1.15 2007/02/02 20:04:28 jonathan.blake +Correction to handling line elements + +Revision 1.14 2006/12/20 00:15:21 jonathan.blake +Updated to handle the new capabilities in version 0.12.1 of the Gamebook DTD. + +Revision 1.13 2006/11/25 04:47:00 jonathan.blake +Removal of obsolete apache namespace. + +Revision 1.12 2006/06/05 23:46:46 jonathan.blake +Fixing the handling of titles when elements are used. + +Revision 1.11 2006/04/04 18:48:52 angantyr +Fixed paragraphed list and illref template bug. + +Revision 1.10 2006/04/02 19:14:37 angantyr +Introduced automatic footnotes list generation and changed the illustrations +list generation so that links to numbered sections are titled "Section ...". +Backwards compatible with old XML files. + +Revision 1.9 2006/03/14 21:04:03 angantyr +Changed the illustration handling with the introduction of 'illref's. +Backwards compatible. + +Revision 1.8 2006/03/13 18:38:49 jonathan.blake +Fixed minor Spanish translation issue + +Revision 1.7 2006/03/09 18:56:33 jonathan.blake +Added a language parameter and coding to switch between languages when the output is hard-coded into the transformation. + +Revision 1.5 2006/03/02 00:33:32 jonathan.blake +Removed the 'book-path' parameter to work with new gbtoxhtml.pl + +Revision 1.4 2005/12/27 01:51:29 angantyr +Added templates for the "bookref" and "footref" elements. + +Revision 1.3 2005/12/05 21:29:04 jonathan.blake +Added the facilities to properly handle character elements. + +Revision 1.2 2005/04/09 19:51:50 angantyr +Added handling of open-ended quotes. + Revision 1.1 2005/01/30 01:32:52 jonathan.blake Initial freepository revision of XML support documents. @@ -70,7 +112,6 @@ Todo: @@ -85,9 +126,9 @@ Todo: -undefined-book - +en + #ff0000 @@ -143,7 +184,7 @@ Todo: -

+

@@ -161,7 +202,7 @@ Todo: -

+

@@ -172,7 +213,7 @@ Todo: -
+
@@ -192,7 +233,7 @@ Todo: -

+

@@ -210,7 +251,7 @@ Todo: -

+

@@ -221,7 +262,7 @@ Todo: -
+
@@ -243,7 +284,7 @@ Todo: -

+

@@ -289,7 +330,7 @@ Todo: -

+

@@ -300,7 +341,7 @@ Todo: -

+

@@ -322,6 +363,27 @@ Todo:
+ + + + + + + + footnotz + + + + + + second-level-backmatter + + + + + + + @@ -362,34 +424,33 @@ Todo: + -
- - - - - - - - - - - - - - - - -
[illustration]

+
+
+ + + + + +
+ + + + + + + [error: paragraphed list template] + error: paragraphed list template @@ -431,11 +492,42 @@ Todo: +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -447,6 +539,10 @@ Todo: + + + + @@ -456,6 +552,10 @@ Todo: + + + + @@ -466,31 +566,70 @@ Todo: : - COMBAT SKILL -   + + + + DESTREZA EN EL COMBATE + + + COMBAT SKILL + + + +   - CLOSE COMBAT SKILL -   + + + + CLOSE COMBAT SKILL + + + CLOSE COMBAT SKILL + + + +   -    - ENDURANCE +    + + + + RESISTENCIA + + + ENDURANCE + + + - (TARGET points) -   + + + (o BLANCOS) + + + (TARGET points) + + +   - (RESISTANCE points) -   + + + + (RESISTANCE points) + + +   -   +   @@ -533,6 +672,82 @@ Todo: + + + + + + + + + + + + + + + @@ -544,29 +759,17 @@ Todo: -
- - - - - - - - - - - - - - - - -
- - ill.htm - [illustration] - -

+
+
+ + + + + + ill.htm + + +
@@ -578,28 +781,17 @@ Todo: -
- - - - - - - - - - - - - - - - -
[illustration]

+
+
+ + + + + +
- @@ -661,6 +853,7 @@ Todo: [error: a template] + error: a template @@ -672,7 +865,9 @@ Todo: + + @@ -683,6 +878,7 @@ Todo: + @@ -694,6 +890,48 @@ Todo: + + + + + + + + + + title + + + + + + + + /../ + + + + + + + ..//.htm + + + + + + + + + + + # + + + + + + @@ -725,13 +963,13 @@ Todo: ' - ' + ' " - " + " @@ -742,6 +980,11 @@ Todo: + + +
+
+
@@ -750,6 +993,136 @@ Todo: + + + +' +  +¡ +¢ +£ +¤ +¥ +¦ +§ +¨ +© +ª +« +¬ +­ +® +¯ +° +± +² +³ +´ +µ + +· +¸ +¹ +º +» +¼ +½ +¾ +¿ +À +Á +Â +Ã +Ä +Å +Æ +Ç +È +É +Ê +Ë +Ì +Í +Î +Ï +Ð +Ñ +Ò +Ó +Ô +Õ +Ö +× +Ø +Ù +Ú +Û +Ü +Ý +Þ +ß +à +á +â +ã +ä +å +æ +ç +è +é +ê +ë +ì +í +î +ï +ð +ñ +ò +ó +ô +õ +ö +÷ +ø +ù +ú +û +ü +ý +þ +ÿ + + + +& +' +' +" +" +- +- +-- + . . . +. . .  +_______ +% + +1/16 ++ + @@ -757,7 +1130,7 @@ Todo: undefined - + xhtml-wrapper: Cannot write to filename: " @@ -771,14 +1144,21 @@ Todo: - <xsl:value-of select="/gamebook/meta/title[1]" /> + <xsl:apply-templates select="/gamebook/meta/title[1]" /> <xsl:text>: </xsl:text> <xsl:choose> <xsl:when test="$document-type='illustration'"> - <xsl:text>Illustration </xsl:text> + <xsl:choose> + <xsl:when test="$language='es'"> + <xsl:text>Ilustración </xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>Illustration </xsl:text> + </xsl:otherwise> + </xsl:choose> <xsl:number count="illustration[@class='float' and contains( $use-illustrators, concat( ':', meta/creator, ':' ) )]" from="/" level="any" format="I" /> </xsl:when> - <xsl:otherwise><xsl:value-of select="meta/title[1]" /></xsl:otherwise> + <xsl:otherwise><xsl:apply-templates select="meta/title[1]" /></xsl:otherwise> </xsl:choose> @@ -792,7 +1172,14 @@ Todo: - Published by + + + Publicado por + + + Published by + + . @@ -809,7 +1196,7 @@ Todo: -
+
@@ -827,45 +1214,88 @@ Todo:

- Publication Date: + + + Fecha de Publicación: + + + Publication Date: + + - January + + de enero de + January + - February + + de febrero de + February + - March + + de marzo de + March + - April + + de abril de + April + - May + + de mayo de + May + - June + + de junio de + June + - July + + de julio de + July + - August + + de agosto de + August + - September + + de septiembre de + September + - October + + de octubre de + October + - November + + de noviembre de + November + - December + + de diciembre de + December + Invalid Month @@ -890,17 +1320,37 @@ Todo:

-

Table of Contents

+

+ + + Índice de Contenidos + + + Table of Contents + + +

    -
  • Title Page
  • + + + + Página Principal + + + Title Page + + + + +
  • .htm - + @@ -928,7 +1378,7 @@ Todo:
    -

    +

    @@ -945,7 +1395,7 @@ Todo:
    -

    +

    @@ -961,7 +1411,7 @@ Todo:
    -

    +

    @@ -977,7 +1427,7 @@ Todo:
    -

    +

    @@ -993,7 +1443,7 @@ Todo:
    -

    +

    @@ -1013,7 +1463,7 @@ Todo:
    -

    +

    @@ -1038,7 +1488,7 @@ title of each section be a simple number. -->
    -

    +

    @@ -1062,7 +1512,7 @@ title of each section be a simple number. .htm - + @@ -1087,7 +1537,7 @@ title of each section be a simple number.
    -

    +

    @@ -1098,11 +1548,63 @@ title of each section be a simple number.
    + + + +
    + + +

    + + + + + +
    + + + + + + +

    + [ + + .htm# + + + ] + + ( + + ) + + +

    +
    + + + + + +
    +
    + + + + + + + + +
    +
    +
    -

    +

    @@ -1120,12 +1622,24 @@ title of each section be a simple number.
    -

    +

    + + + + mapa + + + map + + + + + @@ -1136,26 +1650,45 @@ title of each section be a simple number.
    - - - - - - - - - - - - - - - - -
    [map]
    + + + + + maplarge.htm + 31 + 33 + [{$map-illustration-alt-text}] +

    + + + + + + + + + + + +
    +
    + + + + + maplarge.htm + 31 + 33 + [{$map-illustration-alt-text}] + +

    +
    +
    +
    +
    @@ -1173,12 +1706,24 @@ title of each section be a simple number.
    -

    +

    + + + + mapa + + + map + + + + + @@ -1186,25 +1731,42 @@ title of each section be a simple number.
    - - - - - - - - - - - - - - - - -
    [map]

    + + + + + map.htm + 31 + 33 + [{$map-illustration-alt-text}] + +
    + + + + + + + + +
    +
    + + + + + map.htm + 31 + 33 + [{$map-illustration-alt-text}] + +
    +
    +
    +
    +
    @@ -1226,28 +1788,26 @@ title of each section be a simple number.

    - Illustration + + + Ilustración + + + Illustration + +

    - - - - - - - - - - - - - - - - -
    [illustration]

    + + + + + 31 + 33 + +

    @@ -1280,7 +1840,7 @@ title of each section be a simple number. Project Aon - + @@ -1320,6 +1880,16 @@ title of each section be a simple number. + + + + Índice de Contenidos + + + Table of Contents + + +