cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r158624 - cocoon/blocks/unsupported/xmldb/trunk/samples/xmldb2samples.xsl
Date Tue, 22 Mar 2005 16:35:45 GMT
Author: vgritsenko
Date: Tue Mar 22 08:35:45 2005
New Revision: 158624

URL: http://svn.apache.org/viewcvs?view=rev&rev=158624
Log:
seems like xml2html lost a head template

Modified:
    cocoon/blocks/unsupported/xmldb/trunk/samples/xmldb2samples.xsl

Modified: cocoon/blocks/unsupported/xmldb/trunk/samples/xmldb2samples.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/unsupported/xmldb/trunk/samples/xmldb2samples.xsl?view=diff&r1=158623&r2=158624
==============================================================================
--- cocoon/blocks/unsupported/xmldb/trunk/samples/xmldb2samples.xsl (original)
+++ cocoon/blocks/unsupported/xmldb/trunk/samples/xmldb2samples.xsl Tue Mar 22 08:35:45 2005
@@ -86,7 +86,7 @@
         </note>
       </group>
       <group name="Resource Content">
-<!--        <xsl:call-template name="head"/> -->
+        <xsl:call-template name="head"/>
         <xsl:apply-templates/>
       </group>
       <group name="Query">
@@ -113,7 +113,7 @@
         </note>
       </group>
       <group name="Results">
-<!--        <xsl:call-template name="head"/> -->
+        <xsl:call-template name="head"/>
         <xsl:if test="@resources = 0">
           <note>Query produced no results</note>
         </xsl:if>
@@ -142,5 +142,10 @@
       <strong><xsl:value-of select="@docid"/></strong>:
     </p>
     <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template name="head">
+    <link href="/styles/prettycontent.css" type="text/css" rel="stylesheet"/>
+    <script src="/scripts/prettycontent.js" type="text/javascript"/>
   </xsl:template>
 </xsl:stylesheet>



Mime
View raw message