Author: vgritsenko Date: Tue Mar 22 08:33:57 2005 New Revision: 158623 URL: http://svn.apache.org/viewcvs?view=rev&rev=158623 Log: seems like xml2html lost a head template
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/xmldb/samples/xmldb2samples.xsl Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/xmldb/samples/xmldb2samples.xsl URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/xmldb/samples/xmldb2samples.xsl?view=diff&r1=158622&r2=158623 ============================================================================== --- cocoon/branches/BRANCH_2_1_X/src/blocks/xmldb/samples/xmldb2samples.xsl (original) +++ cocoon/branches/BRANCH_2_1_X/src/blocks/xmldb/samples/xmldb2samples.xsl Tue Mar 22 08:33:57 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>