I am a technical writer learning to use Cocoon. I
have read the FAQs and done Google searches for an answer to this question
(which doesn't mean that it is not out there somewhere, of course).
I have installed Cocoon and experimented with it
somewhat successfully and would like to begin
Studying the DocBook DTD and XSLs can be instructional, as well, for rolling
your own.
DITA seems to be developed specifically to move away from the book
paradigm for creating information products.
You can read about it and download the DTDs and XSLs from IBM. Info at the
links.
Joe
After changing a parameter in my main sitemap, and then restoring the
original config, my Tomcat will not start.
Looking at the catalina.out log, I find the error pasted below. Clues,
please?
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at
Sorry for the waste of bandwidth, but you can disregard the previous
message.
Joe
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
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
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
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
Thanks, Joerg.
I replaced the old xalan with Xalan-J 2.4.1 and the transformation works,
except for a problem with CSS.
For subsequent newbies looking for a setup that works, here's what I am
using.
Cocoon 2.0.3 with jre 1.3.1_06
DocBook XML DTD 4.2
DocBook XSL 1.5
The following .jar files are
The doc displays, and the link to the CSS is present in the HTML for the
result document, but for some reason it does not display when requested from
Cocoon. It does display when I run the transform from the command line.
I am using a sub-sitemap with the pipeline:
map:pipeline
map:match
I have a question about using DocBook XSL with
Cocoon, for anyone who has been successful in doing so. In hopes of getting some
help and maybe helping others, I offer the following background.
After reading numerous posts to the archives for
this list, and other resources, I am aware that
14 matches
Mail list logo