From 2a5673218c3166c25498d44e3adf651f81db3396 Mon Sep 17 00:00:00 2001 From: Jonathan Blake Date: Mon, 5 Jun 2006 23:46:46 +0000 Subject: [PATCH] Fixing the handling of titles when elements are used. git-svn-id: https://projectaon.org/data/trunk@163 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11 --- xml/xhtml.xsl | 63 +++++++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/xml/xhtml.xsl b/xml/xhtml.xsl index 48cea38..c57e70e 100644 --- a/xml/xhtml.xsl +++ b/xml/xhtml.xsl @@ -9,6 +9,9 @@ $Id$ $Log$ +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. @@ -173,7 +176,7 @@ Todo: -

+

@@ -191,7 +194,7 @@ Todo: -

+

@@ -202,7 +205,7 @@ Todo: -
+
@@ -222,7 +225,7 @@ Todo: -

+

@@ -240,7 +243,7 @@ Todo: -

+

@@ -251,7 +254,7 @@ Todo: -
+
@@ -273,7 +276,7 @@ Todo: -

+

@@ -319,7 +322,7 @@ Todo: -

+

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

+

@@ -676,7 +679,7 @@ Todo: - , + , @@ -1089,7 +1092,7 @@ 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'"> @@ -1103,7 +1106,7 @@ is included in all copies. </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> @@ -1141,7 +1144,7 @@ is included in all copies. -
+
@@ -1295,7 +1298,7 @@ is included in all copies.
  • .htm - + @@ -1323,7 +1326,7 @@ is included in all copies.
    -

    +

    @@ -1340,7 +1343,7 @@ is included in all copies.
    -

    +

    @@ -1356,7 +1359,7 @@ is included in all copies.
    -

    +

    @@ -1372,7 +1375,7 @@ is included in all copies.
    -

    +

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

    +

    @@ -1408,7 +1411,7 @@ is included in all copies.
    -

    +

    @@ -1433,7 +1436,7 @@ title of each section be a simple number. -->
    -

    +

    @@ -1457,7 +1460,7 @@ title of each section be a simple number. .htm - + @@ -1482,7 +1485,7 @@ title of each section be a simple number.
    -

    +

    @@ -1499,7 +1502,7 @@ title of each section be a simple number.
    -

    +

    @@ -1549,7 +1552,7 @@ title of each section be a simple number.
    -

    +

    @@ -1567,7 +1570,7 @@ title of each section be a simple number.
    -

    +

    @@ -1651,7 +1654,7 @@ title of each section be a simple number.
    -

    +

    @@ -1785,7 +1788,7 @@ title of each section be a simple number. Project Aon - + @@ -1843,7 +1846,7 @@ title of each section be a simple number. - + .htm @@ -1976,7 +1979,7 @@ title of each section be a simple number. - + -- 2.34.1