Skip to content

Commit

Permalink
$type-metadata fix
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Dec 18, 2023
1 parent 77c28e0 commit 749caad
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/client.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1311,18 +1311,17 @@ WHERE

<xsl:choose>
<xsl:when test="?status = 200 and ?media-type = 'application/rdf+xml'">
<xsl:for-each select="?body">
<xsl:for-each select="$container">
<xsl:result-document href="?." method="ixsl:replace-content">
<xsl:apply-templates select="$resource" mode="bs2:RowForm">
<xsl:with-param name="id" select="$form-id"/>
<xsl:with-param name="type-metadata" select="$type-metadata"/>
</xsl:apply-templates>
</xsl:result-document>
</xsl:for-each>

<xsl:apply-templates select="id($form-id, ixsl:page())" mode="ldh:PostConstruct"/>
<xsl:variable name="type-metadata" select="?body" as="document-node()"/>
<xsl:for-each select="$container">
<xsl:result-document href="?." method="ixsl:replace-content">
<xsl:apply-templates select="$resource" mode="bs2:RowForm">
<xsl:with-param name="id" select="$form-id"/>
<xsl:with-param name="type-metadata" select="$type-metadata"/>
</xsl:apply-templates>
</xsl:result-document>
</xsl:for-each>

<xsl:apply-templates select="id($form-id, ixsl:page())" mode="ldh:PostConstruct"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$resource" mode="bs2:RowForm">
Expand Down

0 comments on commit 749caad

Please sign in to comment.