Skip to content

Commit

Permalink
Only ldh:Object can nest blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Jan 3, 2025
1 parent a9eae1c commit b856b42
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,9 @@ extension-element-prefixes="ixsl"

<!-- client-side $container -->
<xsl:next-match>
<xsl:with-param name="id" select="()"/> <!-- only top-level blocks have @id-->
<xsl:with-param name="about" select="()"/> <!-- only top-level blocks have @about -->
<xsl:with-param name="id" select="()"/> <!-- only block <div>s have @id-->
<xsl:with-param name="about" select="()"/> <!-- only block <div>s have @about -->
<xsl:with-param name="class" select="if (rdf:type/@rdf:resource = '&ldh;Object' then 'row-fluid block' else 'row-fluid'"/> <!-- only ldh:Object can nest blocks -->
</xsl:next-match>
</div>
</div>
Expand Down

0 comments on commit b856b42

Please sign in to comment.