Skip to content

Commit

Permalink
serialize()
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 16, 2023
1 parent 630437b commit c6c18a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ WHERE
<xsl:variable name="uri" select="if (contains($href, '?')) then let $query-params := ldh:parse-query-params(substring-after(ac:document-uri($href), '?')) return if (exists($query-params?uri)) then ldh:decode-uri($query-params?uri[1]) else ac:absolute-path($href) else ac:absolute-path($href)" as="xs:anyURI"/>
<xsl:variable name="query-params" select="if (contains(base-uri(), '?')) then ldh:parse-query-params(substring-after(base-uri(), '?')) else map{}" as="map(xs:string, xs:string*)"/>
<xsl:variable name="fragment" select="if (contains($href, '#')) then substring-after($href, '#') else ()" as="xs:string?"/>
<xsl:message>!! query-params: <xsl:value-of select="$query-params"/></xsl:message>
<xsl:message>!! query-params: <xsl:value-of select="serialize($query-params, map{'method': 'adaptive'})"/></xsl:message>

<ixsl:set-style name="cursor" select="'default'" object="ixsl:page()//body"/>

Expand Down

0 comments on commit c6c18a3

Please sign in to comment.