Reformat with xmllint
authorMike Taylor <mike@indexdata.com>
Mon, 17 Jun 2013 16:05:28 +0000 (17:05 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 17 Jun 2013 16:05:28 +0000 (17:05 +0100)
experiments/spclient/index.html

index cd255b9..35e0229 100644 (file)
@@ -1,89 +1,74 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
+<?xml version="1.0"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  <title>Pazpar2 demo client</title>
-  <link rel="stylesheet" href="styles.css"></link>
-  <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
-  <script type="text/javascript" src="/pazpar2/js/pz2.js"></script>
-  <script type="text/javascript" src="example_client.js"></script>
- </head>
- <body>
-   <noscript>
-     <p>Searching will not work if JavaScript is disabled.</p>
-   </noscript>
-
-  <div id="switchmenu">
-   <a href="#" onclick="switchView('recordview')">Record Browser</a>
-   <span> | </span>
-   <a href="#" onclick="switchView('targetview')">Target Info</a>
-  </div>
-  <div id="heading">
-   <table width="100%" border="0" cellpadding="6" cellspacing="0">
-    <tr>
-     <td width="250" height="100" align="center"><b>Pazpar2</b></td>
-     <td>
-      <form id="searchForm" name="search">
-       <input id="query" type="text" size="50"/>
-       <input id="button" type="submit" value="Search"/>
-      </form>
-     </td>
-     <td>
-      <a href="http://www.indexdata.com"><img border="0" title="IndexData home page" src="indexdata_logo.png" height="98" align="right" alt="" /></a>
-     </td>
-    </tr>
-   </table>
-  </div>
-  
-  <div id="recordview">
-   <table width="100%" border="0" cellpadding="6" cellspacing="0">
-    <tr>
-     <td width="250" valign="top">
-      <div id="termlist"></div>
-     </td>
-     <td valign="top">
-      <div id="ranking">
-       <form name="select">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>Pazpar2 demo client</title>
+    <link rel="stylesheet" href="styles.css" />
+    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
+    <script type="text/javascript" src="/pazpar2/js/pz2.js"></script>
+    <script type="text/javascript" src="example_client.js"></script>
+  </head>
+  <body>
+    <noscript>
+      <p>Searching will not work if JavaScript is disabled.</p>
+    </noscript>
+    <div id="switchmenu">
+      <a href="#" onclick="switchView('recordview')">Record Browser</a>
+      <span> | </span>
+      <a href="#" onclick="switchView('targetview')">Target Info</a>
+    </div>
+    <div id="heading">
+      <table width="100%" border="0" cellpadding="6" cellspacing="0">
+        <tr>
+          <td width="250" height="100" align="center">
+            <b>Pazpar2</b>
+          </td>
+          <td>
+            <form id="searchForm" name="search">
+              <input id="query" type="text" size="50" />
+              <input id="button" type="submit" value="Search" />
+            </form>
+          </td>
+          <td>
+            <a href="http://www.indexdata.com">
+              <img border="0" title="IndexData home page" src="indexdata_logo.png" height="98" align="right" alt="" />
+            </a>
+          </td>
+        </tr>
+      </table>
+    </div>
+    <div id="recordview">
+      <table width="100%" border="0" cellpadding="6" cellspacing="0">
+        <tr>
+          <td width="250" valign="top">
+            <div id="termlist"></div>
+          </td>
+          <td valign="top">
+            <div id="ranking">
+              <form name="select" id="select">
         Sort by
-        <select name="sort" id="sort">
-         <option value="relevance" selected="selected">relevance</option>
-         <option value="title:1">title</option>
-         <option value="date:0">newest</option>
-         <option value="date:1">oldest</option>
-        </select>
+        <select name="sort" id="sort"><option value="relevance" selected="selected">relevance</option><option value="title:1">title</option><option value="date:0">newest</option><option value="date:1">oldest</option></select>
         and show 
-        <select name="perpage" id="perpage">
-         <option value="10">10</option>
-         <option value="20" selected="selected">20</option>
-         <option value="30">30</option>
-         <option value="50">50</option>
-        </select>
+        <select name="perpage" id="perpage"><option value="10">10</option><option value="20" selected="selected">20</option><option value="30">30</option><option value="50">50</option></select>
         per page.
        </form>
-      </div>
-      <div id="pager"></div>
-      <div id="navi"></div>
-      <div id="results"></div>
-     </td>
-    </tr>
-   </table>
-  </div>
-  
-  <div id="targetview" style="display: none">
-   <div id="bytarget">
+            </div>
+            <div id="pager"></div>
+            <div id="navi"></div>
+            <div id="results"></div>
+          </td>
+        </tr>
+      </table>
+    </div>
+    <div id="targetview" style="display: none">
+      <div id="bytarget">
        No information available yet.
    </div>
-  </div>
-  
-  <div id="footer">
+    </div>
+    <div id="footer">
       <div id="stat"></div>
-      <span>Copyright &#xa9; 1999-2013 by <a href="http://www.indexdata.com">Index Data</a></span> 
-  </div>
-
- </body>
+      <span>Copyright &#xA9; 1999-2013 by <a href="http://www.indexdata.com">Index Data</a></span>
+    </div>
+  </body>
 </html>