aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/template
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-06-09 09:03:46 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-18 10:30:47 +0100
commit66e3891337e742b355b13936ab99cb67fd1ab5cc (patch)
treece20c980a4286740b96bd51c0551edd742e79732 /documentation/template
parent0f6128e906a5753ca07965649bcbf51fd84c9b8b (diff)
downloadopenembedded-core-contrib-66e3891337e742b355b13936ab99cb67fd1ab5cc.tar.gz
template: Removed the "d:" character namespace prefix.
The prefix is used for DocBook 5 Schema. We are using the 4.2 Schema. Having this prefix disabled the permalink titles XSL template (section.title.xsl) produced permalinks with no titles. Because I removed it in the section.title.xls file, I also removed it here for completeness. Note that I don't think the template is used at this point but I made the change just in case for the future. (From yocto-docs rev: 8eca4299d0408c1095bfa8aa7b9f04e246db0c0d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/template')
-rw-r--r--documentation/template/component.title.xsl16
1 files changed, 8 insertions, 8 deletions
diff --git a/documentation/template/component.title.xsl b/documentation/template/component.title.xsl
index 3a5539dc83..ee21d59ad5 100644
--- a/documentation/template/component.title.xsl
+++ b/documentation/template/component.title.xsl
@@ -3,20 +3,20 @@
xmlns:d="http://docbook.org/ns/docbook"
xmlns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="d">
-
+
<xsl:template name="component.title">
<xsl:param name="node" select="."/>
-
+
<xsl:variable name="level">
<xsl:choose>
<xsl:when test="ancestor::d:section">
<xsl:value-of select="count(ancestor::d:section)+1"/>
</xsl:when>
- <xsl:when test="ancestor::d:sect5">6</xsl:when>
- <xsl:when test="ancestor::d:sect4">5</xsl:when>
- <xsl:when test="ancestor::d:sect3">4</xsl:when>
- <xsl:when test="ancestor::d:sect2">3</xsl:when>
- <xsl:when test="ancestor::d:sect1">2</xsl:when>
+ <xsl:when test="ancestor::sect5">6</xsl:when>
+ <xsl:when test="ancestor::sect4">5</xsl:when>
+ <xsl:when test="ancestor::sect3">4</xsl:when>
+ <xsl:when test="ancestor::sect2">3</xsl:when>
+ <xsl:when test="ancestor::sect1">2</xsl:when>
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
@@ -36,4 +36,4 @@
</xsl:call-template>
</xsl:element>
</xsl:template>
-</xsl:stylesheet> \ No newline at end of file
+</xsl:stylesheet>