Skip to content

Commit

Permalink
bug(objectionary#3674): ancestor
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Feb 21, 2025
1 parent da2ba34 commit 0c3301e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ SOFTWARE.
<xsl:variable name="auto" select="concat('a', $eo:cactoos)"/>
<xsl:template match="o[contains(@base, concat('.', $auto))]" priority="0">
<xsl:variable name="name" select="substring-after(@base, substring-before(@base, $auto))"/>
<xsl:copy-of select="//o[@name=$name]"/>
<xsl:copy-of select="ancestor::o/o[@name=$name]"/>
</xsl:template>
<xsl:template match="o[starts-with(@name, $auto)]" priority="1">
<!-- Nothing here -->
Expand Down

0 comments on commit 0c3301e

Please sign in to comment.