summaryrefslogtreecommitdiff
path: root/profiling/xsl2profile.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'profiling/xsl2profile.xsl')
-rw-r--r--profiling/xsl2profile.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiling/xsl2profile.xsl b/profiling/xsl2profile.xsl
index b6648aa..ecb6501 100644
--- a/profiling/xsl2profile.xsl
+++ b/profiling/xsl2profile.xsl
@@ -116,7 +116,7 @@
<xsl:call-template name="string.subst">
<xsl:with-param name="string" select="."/>
<xsl:with-param name="target">key('id',$rootid)</xsl:with-param>
- <xsl:with-param name="replacement">$profiled-nodes//*[@id=$rootid]</xsl:with-param>
+ <xsl:with-param name="replacement">$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]</xsl:with-param>
</xsl:call-template>
</xsl:attribute>
</xsl:when>