Skip to content

Commit

Permalink
In "implementation-defined" appendix, fix absent generated link
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhkay committed Jan 9, 2025
1 parent bf9f234 commit 30b346f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specifications/xpath-functions-40/style/xpath-functions.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1177,9 +1177,9 @@

<xsl:template match="processing-instruction('imp-def-features')" priority="100">
<ol>
<xsl:for-each select="//termref[@def='implementation-defined']">
<xsl:for-each select="//termref[@def='implementation-defined'][not(.//ancestor::*[@diff='del'])]">
<xsl:variable name="container" select="ancestor::*[not(ancestor::p)][1]"/>
<xsl:variable name="section" select="ancestor::*[@id][1]"/>
<xsl:variable name="section" select="ancestor::*[@id][head or @key][1]"/>
<xsl:if test=". is ($container//termref[@def='implementation-defined'])[1]">
<!-- avoid duplicates, see bug 27115 -->
<li><p>
Expand Down

0 comments on commit 30b346f

Please sign in to comment.