Skip to content

Commit

Permalink
Added missing $resource definition
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 15, 2024
1 parent 040035e commit 3392826
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ exclude-result-prefixes="#all"
</xsl:variable>
<xsl:message>Save chart $constructed-doc: <xsl:value-of select="serialize($constructed-doc)"/></xsl:message>

<xsl:variable name="resource" select="key('resources-by-type', $forClass, $constructed-doc)[not(key('predicates-by-object', @rdf:nodeID))]" as="element()"/>
<xsl:variable name="row-form" as="element()*">
<!-- TO-DO: refactor to use asynchronous HTTP requests -->
<xsl:variable name="types" select="distinct-values($resource/rdf:type/@rdf:resource)" as="xs:anyURI*"/>
Expand Down

0 comments on commit 3392826

Please sign in to comment.