Author: sylvain
Date: Mon Oct 11 02:57:17 2004
New Revision: 54531
Modified:
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/common/style/xsl/html/simple-page2html.xsl
Log:
allow pages to provide additional CSS
Modified:
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/common/style/xsl/html/simple-page2html.xsl
==============================================================================
---
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/common/style/xsl/html/simple-page2html.xsl
(original)
+++
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/common/style/xsl/html/simple-page2html.xsl
Mon Oct 11 02:57:17 2004
@@ -30,6 +30,8 @@
<head>
<title><xsl:value-of select="title"/></title>
<link rel="stylesheet" href="{$contextPath}/styles/main.css"
title="Default Style"/>
+ <!-- copy local CSS, if any -->
+ <xsl:copy-of select="style"/>
</head>
<body>
<xsl:call-template name="resources"/>