From: <bob...@us...> - 2012-07-11 18:51:09
|
Revision: 9489 http://docbook.svn.sourceforge.net/docbook/?rev=9489&view=rev Author: bobstayton Date: 2012-07-11 18:51:03 +0000 (Wed, 11 Jul 2012) Log Message: ----------- Test for @xml:id as well as @id for $rootid. Modified Paths: -------------- trunk/xsl/profiling/xsl2profile.xsl Modified: trunk/xsl/profiling/xsl2profile.xsl =================================================================== --- trunk/xsl/profiling/xsl2profile.xsl 2012-07-11 15:22:25 UTC (rev 9488) +++ trunk/xsl/profiling/xsl2profile.xsl 2012-07-11 18:51:03 UTC (rev 9489) @@ -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> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |