Skip to content

Commit

Permalink
Debug $content-uri
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 20, 2023
1 parent df6307c commit d77d7a7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ exclude-result-prefixes="#all"
</xsl:variable>
<xsl:variable name="container" select="ancestor::div[@about][1]" as="element()?"/>
<xsl:variable name="content-uri" select="xs:anyURI($container/@about)" as="xs:anyURI"/>

<xsl:message>
$content-uri: '<xsl:value-of select="$content-uri"/>
</xsl:message>

<xsl:variable name="chart-canvas-id" select="ancestor::form/following-sibling::div/@id" as="xs:string"/>
<xsl:variable name="results" select="if (ixsl:contains(ixsl:get(ixsl:get(ixsl:window(), 'LinkedDataHub.contents'), '`' || $content-uri || '`'), 'results')) then ixsl:get(ixsl:get(ixsl:get(ixsl:window(), 'LinkedDataHub.contents'), '`' || $content-uri || '`'), 'results') else root(ixsl:get(ixsl:get(ixsl:get(ixsl:window(), 'LinkedDataHub.contents'), '`' || $content-uri || '`'), 'content'))" as="document-node()"/>

Expand Down

0 comments on commit d77d7a7

Please sign in to comment.