Skip to content

Commit

Permalink
Fixed XPath
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Oct 9, 2023
1 parent cb2d0c0 commit 5ba7fd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ WHERE
<xsl:variable name="query-params" select="if (contains(ldh:base-uri(.), '?')) then ldh:parse-query-params(substring-after(ldh:base-uri(.), '?')) else map{}" as="map(xs:string, xs:string*)"/>
<xsl:choose>
<!-- if ldh:ContentMode is active but no mode param explicitly is specified, change the page's URL to reflect that -->
<xsl:when test="not(map:contains($query-params, 'mode')) and id('content-body', ixsl:page())/div[contains-token(@class, 'row-fluid')][1]/ul[contains-token(@class, 'nav-tabs')]/li[contains-token(@class, 'content-mode')][contains-token(@class, 'active')])">
<xsl:when test="not(map:contains($query-params, 'mode')) and id('content-body', ixsl:page())/div[contains-token(@class, 'row-fluid')][1]/ul[contains-token(@class, 'nav-tabs')]/li[contains-token(@class, 'content-mode')][contains-token(@class, 'active')]">
<xsl:message>BBB ldh:base-uri(.): <xsl:value-of select="ldh:base-uri(.)"/></xsl:message>

<xsl:variable name="fragment" select="substring-after($href, '#')" as="xs:string"/>
Expand Down

0 comments on commit 5ba7fd7

Please sign in to comment.