Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Oct 11, 2023
1 parent 35252c0 commit 423b950
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ xmlns:bs2="http://graphity.org/xsl/bootstrap/2.3.2"
exclude-result-prefixes="#all">

<xsl:template match="rdf:RDF[if (doc-available(ldh:absolute-path($ldh:requestUri))) then (key('resources', ldh:absolute-path($ldh:requestUri), document(ldh:absolute-path($ldh:requestUri)))/rdf:type/@rdf:resource = '&adm;SignUp') else false()]" mode="bs2:ContentBody" priority="2">
<xsl:message>
AAA ldh:absolute-path($ldh:requestUri): <xsl:copy-of select="ldh:absolute-path($ldh:requestUri)"/>/YYY
XXX<xsl:copy-of select="document(ldh:absolute-path($ldh:requestUri))"/>/XXX
</xsl:message>
AAA ldh:absolute-path($ldh:requestUri): <xsl:value-of select="ldh:absolute-path($ldh:requestUri)"/>/YYY
XXX<xsl:copy-of select="document(ldh:absolute-path($ldh:requestUri))"/>/XXX

<div about="{ldh:absolute-path(base-uri($main-doc))}" id="content-body" class="container-fluid">
<xsl:apply-templates select="key('resources', ldh:absolute-path(base-uri($main-doc)))" mode="ldh:ContentList"/>
Expand All @@ -68,10 +66,8 @@ exclude-result-prefixes="#all">
<xsl:template match="rdf:RDF[if (doc-available(ldh:absolute-path($ldh:requestUri))) then (key('resources', ldh:absolute-path($ldh:requestUri), document(ldh:absolute-path($ldh:requestUri)))/rdf:type/@rdf:resource = '&adm;SignUp') else false()]" mode="bs2:ModeTabs" priority="2"/>

<xsl:template match="*[rdf:type/@rdf:resource = '&adm;SignUp'][$ac:method = 'GET']" mode="bs2:Row" priority="2">
<xsl:message>
BBB ldh:absolute-path($ldh:requestUri): <xsl:copy-of select="ldh:absolute-path($ldh:requestUri)"/>/YYY
XXX<xsl:copy-of select="document(ldh:absolute-path($ldh:requestUri))"/>/XXX
</xsl:message>
BBB ldh:absolute-path($ldh:requestUri): <xsl:value-of select="ldh:absolute-path($ldh:requestUri)"/>/YYY
XXX<xsl:copy-of select="document(ldh:absolute-path($ldh:requestUri))"/>/XXX

<xsl:variable name="constructors" select="ldh:query-result(map{}, resolve-uri('ns', $ldt:base), $constructor-query || ' VALUES $Type { ' || string-join(for $type in '&foaf;Person' return '&lt;' || $type || '&gt;', ' ') || ' }')" as="document-node()?"/>
<xsl:apply-templates select="ldh:construct(map{ xs:anyURI('&foaf;Person'): $constructors//srx:result[srx:binding[@name = 'Type'] = '&foaf;Person']/srx:binding[@name = 'construct']/srx:literal/string() })" mode="bs2:RowForm">
Expand Down

0 comments on commit 423b950

Please sign in to comment.