Author: paul
Date: 2006-11-20 21:24:32 +0100 (Mon, 20 Nov 2006)
New Revision: 3989
Log:
r15926@polar: paul | 2006-11-20 13:38:09 -0600
Fix dbk-texi.xsl to handle <figure> elements.
Modified:
trunk/xsl.d/dbk-texi.xsl
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:15924
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:12311
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:11757
+ 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:15926
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:12311
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:11757
Modified: trunk/xsl.d/dbk-texi.xsl
===================================================================
--- trunk/xsl.d/dbk-texi.xsl 2006-11-20 18:57:23 UTC (rev 3988)
+++ trunk/xsl.d/dbk-texi.xsl 2006-11-20 20:24:32 UTC (rev 3989)
Changed blocks: 2, Lines Added: 17, Lines Deleted: 7; 1195 bytes
@@ -238,13 +238,6 @@
<xsl:value-of select="$newline"/>
</xsl:template>
-<xsl:template match="example">
- <xsl:text>@anchor{</xsl:text>
- <xsl:value-of select="@id"/>
- <xsl:text>}</xsl:text>
- <xsl:apply-templates select="@* | node()"/>
-</xsl:template>
-
<!--
generate-menu: generate a @menu structure if there are subsections
@@ -480,6 +473,23 @@
<xsl:apply-templates select="@* | node()"/>
</xsl:template>
+<xsl:template match="example">
+ <xsl:text>@anchor{</xsl:text>
+ <xsl:value-of select="@id"/>
+ <xsl:text>}</xsl:text>
+ <xsl:apply-templates select="@* | node()"/>
+</xsl:template>
+
+<xsl:template match="figure">
+ <xsl:text>@anchor{</xsl:text>
+ <xsl:value-of select="@id"/>
+ <xsl:text>}</xsl:text>
+ <xsl:value-of select="$newline"/>
+ <xsl:text>FIGURE GOES HERE: </xsl:text>
+ <xsl:apply-templates select="title" mode="noignore"/>
+ <xsl:value-of select="$newline"/>
+</xsl:template>
+
<!--
Admonitions: <note>, <caution>, <tip>, <warning>, <important>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r3989 - in trunk: . xsl.d | paul | 20 Nov |