diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2013-03-17 20:07:05 +0000 |
---|---|---|
committer | <> | 2015-07-07 10:18:30 +0000 |
commit | 802da9dd5d4bc18f46a916eedc0c5c1980a15e59 (patch) | |
tree | f78a8637465b7a4c9624fef03d27eb7aeaa779d4 /eclipse | |
parent | 18f63104106b81bf37ca1af774d7be38051e5444 (diff) | |
download | docbook-xsl-master.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 'eclipse')
-rw-r--r-- | eclipse/profile-eclipse.xsl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclipse/profile-eclipse.xsl b/eclipse/profile-eclipse.xsl index 2d18914..0fcf390 100644 --- a/eclipse/profile-eclipse.xsl +++ b/eclipse/profile-eclipse.xsl @@ -31,7 +31,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"/> @@ -44,7 +44,7 @@ </xsl:if> <xsl:if test="$collect.xref.targets != 'only'"> <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:call-template name="etoc"/> <xsl:call-template name="plugin.xml"/> <xsl:call-template name="helpidx"/> @@ -87,13 +87,13 @@ <xsl:variable name="title"> <xsl:if test="$eclipse.autolabel=1"> <xsl:variable name="label.markup"> - <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="label.markup"/> + <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="label.markup"/> </xsl:variable> <xsl:if test="normalize-space($label.markup)"> <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/> </xsl:if> </xsl:if> - <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:variable> <xsl:variable name="href"> <xsl:call-template name="href.target.with.base.dir"> @@ -102,7 +102,7 @@ </xsl:variable> <toc label="{normalize-space($title)}" topic="{$href}"> - <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]/*" mode="etoc"/> + <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]/*" mode="etoc"/> </toc> </xsl:when> |