Newbie question about CSS display

2003-03-28 Thread Joe Williams
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

Re: Newbie question about CSS display

2003-03-28 Thread Yves Vindevogel
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.

Re: Newbie question about CSS display

2003-03-28 Thread Lionel Crine
Joe, you're question is so wide. Here is how I use a CSS in an XSL file. load the CSS. map:pipeline map:match pattern=style/*.css map:read mime-type=text/css src=demo/{1}.css/ /map:match /map:pipeline load the file : map:match pattern=welcome

Re: Newbie question about CSS display

2003-03-28 Thread Joe Williams
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

Re: Newbie question about CSS display

2003-03-28 Thread Lionel Crine
It's a little bit confused but if you want to do it. You should declare do : map:pipeline map:match pattern=*.css map:read src={1}.css mime-type=text/css/ /map:match /map:pipeline then : map:pipeline map:match pattern=book map:generate src=book.xml/ map:transform src=book.xsl map:parameter

Re: Newbie question about CSS display

2003-03-28 Thread Joerg Heinicke
Hello Joe, Joe Williams wrote: 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

Re: Newbie question about CSS display

2003-03-28 Thread Joe Williams
When I try to reach the CSS directly, I get a Cocoon error (see below). What do you want to reach with map:parameter name=css-stylesheet value=book.css/ ?? Do you have a global xsl:param name=css-stylesheet/ in your book.xsl? No, I do not. I commented that line out, and the link to the CSS

Re: Newbie question about CSS display

2003-03-28 Thread Jörg Heinicke
This only for clarification. Test the stylesheet independent of the DocBook HTML with http://myserver:8080/cocoon/book/book.css;. If you get it, hmm, I don't know. If not, what do you get? When I follow the suggestion to access the CSS alone, I get this error: type

Re: Newbie question about CSS display

2003-03-28 Thread Joe Williams
1. the file is not in the same directory as the xml (according to the earlier sent match patterns and pipelines), 2. the pipeline for the CSS does not look like the sent one 3. or there is another pipeline matching on *.css before the sent one. And this one searches for the CSS file on

Re: Newbie question about CSS display

2003-03-28 Thread Joe Williams
Ah, interesting ;-) As I expected it ... Please have a look into the log files. You should get more information there, e.g. something like a stacktrace. It seems, that the book.css can't be found on the disk, where it should be to found (as you specified it in the sitemap). But the pipeline

Re: Newbie question about CSS display--CORRECTION

2003-03-28 Thread Joe Williams
There is no *.css in main sitemap, but I have not looked through all the files. - Original Message - From: Joe Williams [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 28, 2003 4:52 PM Subject: Re: Newbie question about CSS display Ah, interesting ;-) As I expected

Re: Newbie question about CSS display

2003-03-28 Thread Joerg Heinicke
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

Re: Newbie question about CSS display

2003-03-28 Thread Joe Williams
(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