summaryrefslogtreecommitdiff
path: root/htmlhelp
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-11-06 10:50:51 (GMT)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-11-06 10:50:51 (GMT)
commit14b660c1b43c74e8db2abb51e38e7a1aa38220a2 (patch)
treef78a8637465b7a4c9624fef03d27eb7aeaa779d4 /htmlhelp
parentb2d73bee5e123c5e69352a447d4bc318132612d9 (diff)
downloaddocbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.zip
docbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.tar.gz
docbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.tar.bz2
Imported Upstream version 1.78.1upstream/1.78.1upstream
Diffstat (limited to 'htmlhelp')
-rw-r--r--htmlhelp/profile-htmlhelp-common.xsl24
1 files changed, 12 insertions, 12 deletions
diff --git a/htmlhelp/profile-htmlhelp-common.xsl b/htmlhelp/profile-htmlhelp-common.xsl
index 12a8085..8e5e8ac 100644
--- a/htmlhelp/profile-htmlhelp-common.xsl
+++ b/htmlhelp/profile-htmlhelp-common.xsl
@@ -42,7 +42,7 @@
<xsl:choose>
<xsl:when test="$rootid != ''">
<xsl:choose>
- <xsl:when test="count($profiled-nodes//*[@id=$rootid]) = 0">
+ <xsl:when test="count($profiled-nodes//*[@id=$rootid or @xml:id=$rootid]) = 0">
<xsl:message terminate="yes">
<xsl:text>ID '</xsl:text>
<xsl:value-of select="$rootid"/>
@@ -51,7 +51,7 @@
</xsl:when>
<xsl:otherwise>
<xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message>
- <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="process.root"/>
+ <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="process.root"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
@@ -70,7 +70,7 @@
<xsl:if test="$collect.xref.targets != 'only'">
<xsl:call-template name="hhp"/>
<xsl:call-template name="hhc"/>
- <xsl:if test="($rootid = '' and //processing-instruction('dbhh')) or ($rootid != '' and $profiled-nodes//*[@id=$rootid]//processing-instruction('dbhh'))">
+ <xsl:if test="($rootid = '' and //processing-instruction('dbhh')) or ($rootid != '' and $profiled-nodes//*[@id=$rootid or @xml:id=$rootid]//processing-instruction('dbhh'))">
<xsl:call-template name="hh-map"/>
<xsl:call-template name="hh-alias"/>
</xsl:if>
@@ -109,7 +109,7 @@
<xsl:when test="$htmlhelp.title = ''">
<xsl:choose>
<xsl:when test="$rootid != ''">
- <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="title.markup"/>
+ <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="title.markup"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$profiled-nodes/*" mode="title.markup"/>
@@ -139,7 +139,7 @@
<xsl:with-param name="base.name">
<xsl:choose>
<xsl:when test="$rootid != ''">
- <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="chunk-filename"/>
+ <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="chunk-filename"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$profiled-nodes" mode="chunk-filename"/>
@@ -305,7 +305,7 @@ Enhanced decompilation=</xsl:text>
<xsl:choose>
<xsl:when test="$rootid != ''">
- <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="enumerate-files"/>
+ <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="enumerate-files"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$profiled-nodes" mode="enumerate-files"/>
@@ -316,7 +316,7 @@ Enhanced decompilation=</xsl:text>
<xsl:variable name="imagelist">
<xsl:choose>
<xsl:when test="$rootid != ''">
- <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="enumerate-images"/>
+ <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="enumerate-images"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$profiled-nodes" mode="enumerate-images"/>
@@ -337,7 +337,7 @@ Enhanced decompilation=</xsl:text>
</xsl:choose>
</xsl:if>
-<xsl:if test="($htmlhelp.force.map.and.alias != 0) or ($rootid = '' and //processing-instruction('dbhh')) or ($rootid != '' and $profiled-nodes//*[@id=$rootid]//processing-instruction('dbhh'))">
+<xsl:if test="($htmlhelp.force.map.and.alias != 0) or ($rootid = '' and //processing-instruction('dbhh')) or ($rootid != '' and $profiled-nodes//*[@id=$rootid or @xml:id=$rootid]//processing-instruction('dbhh'))">
<xsl:text>
[ALIAS]
#include </xsl:text><xsl:value-of select="$htmlhelp.alias.file"/><xsl:text>
@@ -507,7 +507,7 @@ Enhanced decompilation=</xsl:text>
<xsl:variable name="content">
<xsl:choose>
<xsl:when test="$rootid != ''">
- <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="hhc"/>
+ <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="hhc"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$profiled-nodes" mode="hhc"/>
@@ -825,7 +825,7 @@ Enhanced decompilation=</xsl:text>
<xsl:if test="($htmlhelp.use.hhk != 0) and $htmlhelp.generate.index">
<xsl:choose>
<xsl:when test="$rootid != ''">
- <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="hhk"/>
+ <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="hhk"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$profiled-nodes" mode="hhk"/>
@@ -948,7 +948,7 @@ Enhanced decompilation=</xsl:text>
<xsl:with-param name="content">
<xsl:choose>
<xsl:when test="$rootid != ''">
- <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="hh-map"/>
+ <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="hh-map"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$profiled-nodes" mode="hh-map"/>
@@ -997,7 +997,7 @@ Enhanced decompilation=</xsl:text>
<xsl:with-param name="content">
<xsl:choose>
<xsl:when test="$rootid != ''">
- <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="hh-alias"/>
+ <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="hh-alias"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$profiled-nodes" mode="hh-alias"/>