svn commit: r765610 - /lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Thu Apr 16 12:36:04 2009
New Revision: 765610

URL: http://svn.apache.org/viewvc?rev=765610&view=rev
Log:
Cleaning up contract for xhtml resource type format.

Modified:
    lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl

Modified: lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl?rev=765610&r1=765609&r2=765610&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl (original)
+++ lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl Thu Apr 16 12:36:04 2009
@@ -53,25 +53,27 @@
   </xsl:variable>
   
   <xsl:template match="search:results">  
-    <div id="body">
-      <h1><i18n:text>Search</i18n:text></h1>
-      <form class="search-results-form" action="" method="get">
-        <p>
-          <input name="queryString" type="text" style="width: 400px" value="{$queryString}"
-          />&#160;<input type="submit" name="submit" value="Search" i18n:attr="value"/>
-        </p>
-        <p>
-          <xsl:call-template name="type">
-            <xsl:with-param name="searchType">documents</xsl:with-param>
-          </xsl:call-template>
-          &#160;&#160;&#160;
-          <xsl:call-template name="type">
-            <xsl:with-param name="searchType">images</xsl:with-param>
-          </xsl:call-template>
-        </p>
-      </form>
-      <xsl:apply-templates select="search:hits"/>
-    </div>
+    <html>
+      <body>
+        <h1><i18n:text>Search</i18n:text></h1>
+        <form class="search-results-form" action="" method="get">
+          <p>
+            <input name="queryString" type="text" style="width: 400px" value="{$queryString}"
+            />&#160;<input type="submit" name="submit" value="Search" i18n:attr="value"/>
+          </p>
+          <p>
+            <xsl:call-template name="type">
+              <xsl:with-param name="searchType">documents</xsl:with-param>
+            </xsl:call-template>
+            &#160;&#160;&#160;
+            <xsl:call-template name="type">
+              <xsl:with-param name="searchType">images</xsl:with-param>
+            </xsl:call-template>
+          </p>
+        </form>
+        <xsl:apply-templates select="search:hits"/>
+      </body>
+    </html>
   </xsl:template>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.