You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2011/07/04 16:44:08 UTC
svn commit: r1142694 -
/incubator/jena/Jena2/Fuseki/trunk/pages-update/xml-to-html.xsl
Author: andy
Date: Mon Jul 4 14:44:07 2011
New Revision: 1142694
URL: http://svn.apache.org/viewvc?rev=1142694&view=rev
Log: (empty)
Modified:
incubator/jena/Jena2/Fuseki/trunk/pages-update/xml-to-html.xsl
Modified: incubator/jena/Jena2/Fuseki/trunk/pages-update/xml-to-html.xsl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/Fuseki/trunk/pages-update/xml-to-html.xsl?rev=1142694&r1=1142693&r2=1142694&view=diff
==============================================================================
--- incubator/jena/Jena2/Fuseki/trunk/pages-update/xml-to-html.xsl (original)
+++ incubator/jena/Jena2/Fuseki/trunk/pages-update/xml-to-html.xsl Mon Jul 4 14:44:07 2011
@@ -122,7 +122,10 @@ Fix:
<xsl:template match="res:uri">
<xsl:variable name="uri" select="text()"/>
<xsl:text><</xsl:text>
+ <!-- Roughly: SELECT ($uri AS ?subject) ?predicate ?object { $uri ?predicate ?object } -->
+ <a href="?query=SELECT%20%28%3C{$uri}%3E%20AS%20%3Fsubject%29%20%3Fpredicate%20%3Fobject%20%7B%3C{$uri}%3E%20%3Fpredicate%20%3Fobject%20%7D&output=xml&stylesheet=%2Fxml-to-html-2.xsl">
<xsl:value-of select="$uri"/>
+ </a>
<xsl:text>></xsl:text>
</xsl:template>