|
Boost-Commit : |
From: fmhess_at_[hidden]
Date: 2007-09-12 09:19:30
Author: fmhess
Date: 2007-09-12 09:19:29 EDT (Wed, 12 Sep 2007)
New Revision: 39212
URL: http://svn.boost.org/trac/boost/changeset/39212
Log:
Changed some xsl:import to xsl:include. Fixes numerous
problems caused by templates in docbook.xsl getting applied
with too high a precedence.
Text files modified:
sandbox/boost_docs/trunk/tools/boostbook/xsl/docbook.xsl | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
Modified: sandbox/boost_docs/trunk/tools/boostbook/xsl/docbook.xsl
==============================================================================
--- sandbox/boost_docs/trunk/tools/boostbook/xsl/docbook.xsl (original)
+++ sandbox/boost_docs/trunk/tools/boostbook/xsl/docbook.xsl 2007-09-12 09:19:29 EDT (Wed, 12 Sep 2007)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
-
+
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt) xmlns="http://www.w3.org/1999/xhtml"
@@ -13,10 +13,10 @@
<xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunker.xsl"/>
- <xsl:import href="reference.xsl"/>
+ <xsl:include href="reference.xsl"/>
- <xsl:import href="user-params.xsl"/>
- <xsl:import href="docbook-params.xsl"/>
+ <xsl:include href="user-params.xsl"/>
+ <xsl:include href="docbook-params.xsl"/>
<xsl:output method="xml"
doctype-public="-//OASIS//DTD DocBook XML V4.2//EN"
@@ -61,7 +61,7 @@
<xsl:if test="not(title)">
<title>
<xsl:text>Reference</xsl:text>
- </title>
+ </title>
</xsl:if>
<xsl:if test="concept">
@@ -140,7 +140,7 @@
|descendant::typedef">
<xsl:call-template name="synopsis">
<xsl:with-param name="text">
- <xsl:apply-templates mode="synopsis"
+ <xsl:apply-templates mode="synopsis"
select="namespace|class|struct|union
|function|free-function-group
|overloaded-function|enum
@@ -269,7 +269,7 @@
</xsl:if>
<xsl:if test="not($highlight)">
<xsl:value-of select="$text"/>
- </xsl:if>
+ </xsl:if>
</xsl:when>
<xsl:otherwise>
<xsl:message>
@@ -346,7 +346,7 @@
<xsl:for-each select="./@*">
<xsl:choose>
<xsl:when test="local-name(.)='last-revision'">
- <xsl:attribute
+ <xsl:attribute
name="rev:last-revision"
namespace="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">
<xsl:value-of select="."/>
@@ -393,7 +393,7 @@
</xsl:attribute>
<xsl:if test="@last-revision">
- <xsl:attribute
+ <xsl:attribute
name="rev:last-revision"
namespace="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision">
<xsl:value-of select="@last-revision"/>
@@ -451,7 +451,7 @@
<xsl:template match="*" mode="namespace-reference">
<xsl:apply-templates select="." mode="reference"/>
</xsl:template>
-
+
<!-- Make the various blocks immediately below a "part" be
"chapter"-s. Must also take into account turning
chapters within chpaters into sections. -->
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk