File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 8484 <b class =" + topic/ph hi-d/b " ><xsl : value-of select =" replace(compoundname,'^.*::','')" /></b >
8585 <xsl : choose >
8686 <xsl : when test =" basecompoundref/@refid" >
87- <xsl : variable name =" extends" select =" basecompoundref/@refid" />
8887 <xsl : text > extends </xsl : text >
8988
9089 <xsl : for-each select =" basecompoundref" >
90+ <xsl : variable name =" extends" select =" @refid" />
91+ <xsl : variable name =" extends-name" select =" //compounddef[@id=$extends]/compoundname" />
92+ <xsl : if test =" $extends-name" >
93+
9194 <xsl : call-template name =" add-link" >
9295 <xsl : with-param name =" type" select =" 'topic'" />
9396 <xsl : with-param
9497 name =" href"
95- select =" concat('#', dita-ot:name-to-id(//compounddef[@id= $extends]/compoundname ))"
98+ select =" concat('#', dita-ot:name-to-id($extends-name ))"
9699 />
97100 <xsl : with-param name =" text" select =" replace(.,'^.*\.','')" />
98101 </xsl : call-template >
102+ </xsl : if >
99103 <xsl : if test =" count(basecompoundref) > 1" >
100104 <xsl : text > </xsl : text >
101105 </xsl : if >
You can’t perform that action at this time.
0 commit comments