summaryrefslogtreecommitdiff
path: root/javahelp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2013-03-17 20:07:05 +0000
committer <>2015-07-07 10:18:30 +0000
commit802da9dd5d4bc18f46a916eedc0c5c1980a15e59 (patch)
treef78a8637465b7a4c9624fef03d27eb7aeaa779d4 /javahelp
parent18f63104106b81bf37ca1af774d7be38051e5444 (diff)
downloaddocbook-xsl-802da9dd5d4bc18f46a916eedc0c5c1980a15e59.tar.gz
Imported from /home/lorry/working-area/delta_docbook-xsl/docbook-xsl-1.78.1.tar.bz2.HEADdocbook-xsl-1.78.1master
Diffstat (limited to 'javahelp')
-rw-r--r--javahelp/profile-javahelp.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/javahelp/profile-javahelp.xsl b/javahelp/profile-javahelp.xsl
index 8133740..734ef7c 100644
--- a/javahelp/profile-javahelp.xsl
+++ b/javahelp/profile-javahelp.xsl
@@ -34,7 +34,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"/>
@@ -43,7 +43,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>