Well, as an example, I use an XSLT stylesheet to create the <head> of
the output xhtml document, and insert e.g. the following:
<xsl:template match="header">
<head>
<title><xsl:value-of select="/page/header/title"/></title>
<link href="styles/main.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div class="icon">
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="/page/header/icon/small"/>
</xsl:attribute>
</xsl:element>
</div>
<xsl:apply-templates/>
</body>
</xsl:template>
On Fri, 25 Feb 2005 09:33:24 -0800 (PST), fadi qutaishat
<[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
>
>
> I want to use the Cascading Stylesheet (CSS) in Cocoon, I do not know how to
> integrate a CSS file in Cocoon. Can any one give advice or point me to
> relevant links .
>
>
>
> Many thanks,
>
>
>
> Fadi
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]