Thanks for the response, let me see if this makes things clearer.

I'm not getting an error message, but the formatting changes to the DocBook
XSL (by means of my CSS) do not appear in the browser.

The URL:

http://myserver:8080/cocoon/book/book

This succeeds in calling the document. When I view the source of the
displayed HTML, the link to the CSS stylesheet appears:

<link href="book.css" rel="stylesheet" type="text/css">

Therefore, I expect the changes to appear, but they do not. The CSS is in
the same directory ("book") as the XML source ("book.xml") the XSL
stylesheet ("book.xsl") and the CSS ("book.css")

I have not tried Lionel's suggestions yet, but will do so.


----- Original Message -----
From: "Joerg Heinicke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 10:19 AM
Subject: Re: Newbie question about CSS display


> Hello Joe,
>
> you don't give very exact error description, only "it does not work". So
> it's only possible to guess. Or you give us more information.
>
> I guess the error is a missing or a wrong match for the CSS.
>
> The information you can provide:
>
> 1. Which URL do you type in the browser for the Cocoon delivered HTML.
>
> 2. How does the according match pattern in the sitemap for the docbook
> transformation look like.
>
> 3. How does the <link/> tag for the CSS in the generated HTML look like?
>
> 4. How does the according match pattern in the sitemap for the CSS look
like?
>
> The transformation offline or in Cocoon may be different (but I don't
really
> think so), but has nothing to do with the loading of the CSS.
>
> Regards,
>
> Joerg
>
> Joe Williams wrote:
> > 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.
>
> --
>
> System Development
> VIRBUS AG
> Fon  +49(0)341-979-7419
> Fax  +49(0)341-979-7409
> [EMAIL PROTECTED]
> www.virbus.de
>
>
> ---------------------------------------------------------------------
> 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