Skip to content

Commit

Permalink
Mark bs2:RowForm mode as server-side only
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 9, 2023
1 parent d9431a6 commit 7c267a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ extension-element-prefixes="ixsl"
</xsl:next-match>
</xsl:template>

<xsl:template match="rdf:RDF" mode="bs2:RowForm">
<xsl:template match="rdf:RDF" mode="bs2:RowForm" use-when="system-property('xsl:product-name') = 'SAXON'">
<xsl:param name="method" select="'post'" as="xs:string"/>
<xsl:param name="base-uri" select="base-uri()" as="xs:anyURI" tunnel="yes"/>
<xsl:param name="action" select="ldh:href($ldt:base, ac:absolute-path($base-uri), map{}, ac:build-uri(ac:absolute-path($base-uri), map{ '_method': 'PUT', 'mode': for $mode in $ac:mode return string($mode) }))" as="xs:anyURI"/>
Expand Down

0 comments on commit 7c267a5

Please sign in to comment.