diff options
author | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-11-06 11:50:51 +0100 |
---|---|---|
committer | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-11-06 11:50:51 +0100 |
commit | 14b660c1b43c74e8db2abb51e38e7a1aa38220a2 (patch) | |
tree | f78a8637465b7a4c9624fef03d27eb7aeaa779d4 /javahelp/profile-javahelp.xsl | |
parent | b2d73bee5e123c5e69352a447d4bc318132612d9 (diff) | |
download | docbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.tar.gz docbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.tar.bz2 docbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.zip |
Imported Upstream version 1.78.1upstream/1.78.1
Diffstat (limited to 'javahelp/profile-javahelp.xsl')
-rw-r--r-- | javahelp/profile-javahelp.xsl | 4 |
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> |