Skip to content

Commit

Permalink
Fix $block expression in view's bs2:RenderRow mode
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 24, 2024
1 parent 9a56b31 commit dcb5265
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ exclude-result-prefixes="#all"
<!-- render view -->

<xsl:template match="*[@typeof = '&ldh;View'][descendant::*[@property = '&spin;query'][@resource]]" mode="ldh:RenderRow" priority="1">
<xsl:param name="block" select="ancestor::div[contains-token(@class, 'block')][1]" as="element()"/>
<xsl:param name="block" select="ancestor-or-self::div[contains-token(@class, 'block')][1]" as="element()"/>
<xsl:param name="about" select="$block/@about" as="xs:anyURI"/>
<xsl:param name="this" select="$block/ancestor::*[@about][1]/@about" as="xs:anyURI"/> <!-- outer @about context -->
<xsl:param name="container" select="." as="element()"/>
Expand Down

0 comments on commit dcb5265

Please sign in to comment.