X-Git-Url: http://git.projectaon.org/?a=blobdiff_plain;f=xml%2Fxhtml.xsl;h=276dd7f33431e6f8b6b5a26ab3a514a49dc8a61f;hb=e20dec0e2e54c8d52216d4da4fbaf721b0454074;hp=abe7b29a8a63a010c9f5b56859b1817f8e96fee5;hpb=406d5f487f5fe228a2b6cdc3c09dd543877d8703;p=project-aon.git diff --git a/xml/xhtml.xsl b/xml/xhtml.xsl index abe7b29..276dd7f 100644 --- a/xml/xhtml.xsl +++ b/xml/xhtml.xsl @@ -1,6 +1,6 @@ + %xhtml.characters; ]> @@ -9,8 +9,32 @@ $Id$ $Log$ -Revision 1.6 2006/03/04 01:12:26 jonathan.blake -Added parameter to bring in the language of the document +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 @@ -85,7 +109,6 @@ Todo: @@ -101,7 +124,7 @@ Todo: - en +en @@ -158,7 +181,7 @@ Todo: -

+

@@ -176,7 +199,7 @@ Todo: -

+

@@ -187,7 +210,7 @@ Todo: -
+
@@ -207,7 +230,7 @@ Todo: -

+

@@ -225,7 +248,7 @@ Todo: -

+

@@ -236,7 +259,7 @@ Todo: -
+
@@ -258,7 +281,7 @@ Todo: -

+

@@ -304,7 +327,7 @@ Todo: -

+

@@ -315,7 +338,7 @@ Todo: -

+

@@ -337,6 +360,27 @@ Todo:
+ + + + + + + + footnotz + + + + + + second-level-backmatter + + + + + + + @@ -377,34 +421,33 @@ Todo: + -
- - - - - - - - - - - - - - - - -
[illustration]

+
+
+ + + + + +
+ + + + + + + [error: paragraphed list template] + error: paragraphed list template @@ -446,11 +489,42 @@ Todo: +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -462,6 +536,10 @@ Todo: + + + + @@ -471,6 +549,10 @@ Todo: + + + + @@ -481,31 +563,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) + + +   -   +   @@ -548,6 +669,82 @@ Todo: + + + + + + + + + + + + + + + @@ -559,29 +756,17 @@ Todo: -
- - - - - - - - - - - - - - - - -
- - ill.htm - [illustration] - -

+
+
+ + + + + + ill.htm + + +
@@ -593,28 +778,17 @@ Todo: -
- - - - - - - - - - - - - - - - -
[illustration]

+
+
+ + + + + +
- @@ -676,6 +850,7 @@ Todo: [error: a template] + error: a template @@ -689,6 +864,7 @@ Todo: + @@ -699,6 +875,7 @@ Todo: + @@ -800,6 +977,10 @@ Todo: + +
+
+
@@ -959,14 +1140,21 @@ is included in all copies. - <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> @@ -980,7 +1168,14 @@ is included in all copies. - Published by + + + Publicado por + + + Published by + + . @@ -997,7 +1192,7 @@ is included in all copies. -
+
@@ -1015,79 +1210,86 @@ is included in all copies.

- Publication Date: + + + Fecha de Publicación: + + + Publication Date: + + - enero + de enero de January - febrero + de febrero de February - marzo + de marzo de March - abril + de abril de April - mayo + de mayo de May - junio + de junio de June - julio + de julio de July - agosto + de agosto de August - septiembre + de septiembre de September - octubre + de octubre de October - noviembre + de noviembre de November - diciembre + de diciembre de December @@ -1114,17 +1316,37 @@ is included in all copies.

-

Table of Contents

+

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

    -
  • Title Page
  • + + + + Página Principal + + + Title Page + + + + +
  • .htm - + @@ -1152,7 +1374,7 @@ is included in all copies.
    -

    +

    @@ -1169,7 +1391,7 @@ is included in all copies.
    -

    +

    @@ -1185,7 +1407,7 @@ is included in all copies.
    -

    +

    @@ -1201,7 +1423,7 @@ is included in all copies.
    -

    +

    @@ -1217,7 +1439,7 @@ is included in all copies.
    -

    +

    @@ -1237,7 +1459,7 @@ is included in all copies.
    -

    +

    @@ -1262,7 +1484,7 @@ title of each section be a simple number. -->
    -

    +

    @@ -1286,7 +1508,7 @@ title of each section be a simple number. .htm - + @@ -1311,7 +1533,7 @@ title of each section be a simple number.
    -

    +

    @@ -1322,11 +1544,63 @@ title of each section be a simple number.
    + + + +
    + + +

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

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

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

    +

    @@ -1344,12 +1618,24 @@ title of each section be a simple number.
    -

    +

    + + + + mapa + + + map + + + + + @@ -1360,26 +1646,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}] + +

    +
    +
    +
    +
    @@ -1397,12 +1702,24 @@ title of each section be a simple number.
    -

    +

    + + + + mapa + + + map + + + + + @@ -1410,25 +1727,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}] + +
    +
    +
    +
    +
    @@ -1450,28 +1784,26 @@ title of each section be a simple number.

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

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

    + + + + + 31 + 33 + +

    @@ -1504,7 +1836,7 @@ title of each section be a simple number. Project Aon - + @@ -1544,6 +1876,16 @@ title of each section be a simple number. + + + + Índice de Contenidos + + + Table of Contents + + +