The link to the stylesheet appears in the HTML output.

I am using a sub-sitemap with the pipeline:

<map:pipeline>
<map:match pattern="book">
<map:generate src="book.xml"/>
<map:transform src="book.xsl">
<map:parameter name="css-stylesheet" value="book.css"/>
</map:transform>
<map:serialize/>
</map:match>
<map:match pattern="*.css">
<map:read src="{1}.css" mime-type="text/css"/>
</map:match>
</map:pipeline>

And I am adding the parameters to my DocBook customization layer, per Norm
and Bob's documentation:

<xsl:param name="html.stylesheet" select="'book.css'"/>
<xsl:param name="html.stylesheet.type">text/css</xsl:param>

----- Original Message -----
From: "Yves Vindevogel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 9:27 AM
Subject: Re: Newbie question about CSS display


Check your sitemap ... You probably don't have the correct pipeline/match
for
it.

> Forgive the elementary nature of this question, but I am new to Cocoon, my
> background is documentation and not development, and I have read and
> searched for an explanation for this weirdness without success.
>
> Using DocBook XML and the DocBook XSL with a customization layer, I want
to
> change the styles using a CSS.
>
> My formatting changes are displayed when I run the transformation from the
> command line, but not when I use Cocoon.
>
> Is this to be expected, or what? Does the transformation occur differently
> when using Cocoon than when using Xalan alone?
>
> A helpful link or answer would be appreciated.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
Met vriendelijke groeten,
Kind regards,
Bien ā vous,

Yves Vindevogel

Implements
Kempische Steenweg 206  --  3500 Hasselt  --  Belgium
Phone/Fax: +32 (11) 43.55.76  --  Mobile: +32 (478) 80.82.91
Mail: [EMAIL PROTECTED]  --  www.implements.be

Quote: The winner never says participating is more important than winning.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to