jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1510473 - in /jena/trunk/jena-fuseki/pages: sparql.html sparql.tpl
Date Mon, 05 Aug 2013 13:30:00 GMT
Author: andy
Date: Mon Aug  5 13:30:00 2013
New Revision: 1510473

URL: http://svn.apache.org/r1510473
Log:
JENA-501 : Dropdown for XML stylesheet options.

Modified:
    jena/trunk/jena-fuseki/pages/sparql.html
    jena/trunk/jena-fuseki/pages/sparql.tpl

Modified: jena/trunk/jena-fuseki/pages/sparql.html
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/pages/sparql.html?rev=1510473&r1=1510472&r2=1510473&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/pages/sparql.html (original)
+++ jena/trunk/jena-fuseki/pages/sparql.html Mon Aug  5 13:30:00 2013
@@ -30,13 +30,13 @@
     <div class="moreindent">
 
       <form action="sparql" method="get">
-	    <p>General SPARQL query : input query, set any options and press "Get Results"</p>
-	    <p>
-	      <textarea name="query" cols="70" rows="20"></textarea>
-	      <br/>
-	      Target graph URI (or use <code>FROM</code> in the query)
-	      <input name="default-graph-uri" size="25" value="" />
-	      <br/>
+        <p>General SPARQL query : input query, set any options and press "Get Results"</p>
+        <p>
+          <textarea name="query" cols="70" rows="20"></textarea>
+          <br/>
+          Target graph URI (or use <code>FROM</code> in the query)
+          <input name="default-graph-uri" size="25" value="" />
+          <br/>
 
           Output: <select name="output">
             <option value="json">JSON</option>
@@ -46,14 +46,19 @@
             <option value="tsv">TSV</option>
           </select>
           <br/>
-	      XSLT style sheet (blank for none): 
-          <input name="stylesheet" size="20" value="/xml-to-html.xsl" />
+          If XML output, XSLT style sheet (blank for none): 
+          <select name="stylesheet">
+            <option value=""></option>
+            <option value="/xml-to-html.xsl">xml-to-html</option>
+            <option value="/xml-to-html-links.xsl">xml-to-html-links</option>
+            <option value="/xml-to-html-plain.xsl">xml-to-html-plain</option>
+          </select>
           <br/>
           <input type="checkbox" name="force-accept" value="text/plain"/>
           Force the accept header to <tt>text/plain</tt> regardless 
-	      <br/>
-	      <input type="submit" value="Get Results" />
-	    </p>
+          <br/>
+          <input type="submit" value="Get Results" />
+        </p>
       </form>
     </div>
 

Modified: jena/trunk/jena-fuseki/pages/sparql.tpl
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/pages/sparql.tpl?rev=1510473&r1=1510472&r2=1510473&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/pages/sparql.tpl (original)
+++ jena/trunk/jena-fuseki/pages/sparql.tpl Mon Aug  5 13:30:00 2013
@@ -58,8 +58,13 @@
           <option value="tsv">TSV</option>
         </select>
         <br/>
-	    XSLT style sheet (blank for none): 
-        <input name="stylesheet" size="20" value="/xml-to-html.xsl" />
+	    If XML output, add XSLT style sheet (blank for none): 
+        <select name="stylesheet">
+          <option value=""></option>
+          <option value="/xml-to-html.xsl">xml-to-html</option>
+          <option value="/xml-to-html-links.xsl">xml-to-html-links</option>
+          <option value="/xml-to-html-plain.xsl">xml-to-html-plain</option>
+        </select>
         <br/>
         <input type="checkbox" name="force-accept" value="text/plain"/>
         Force the accept header to <tt>text/plain</tt> regardless.



Mime
View raw message