I am trying to use a stylesheet in a xsl page and am getting a null
pointer exception coming from my xsl page. My syntax is below, I am new
to Cocoon so please excuse my mistakes. I appreciate the help.
dialog.xsl
xsl:param name=html.stylesheet select=global.css'/
xsl:param
-stylesheet.
Cheers!
Con
-Original Message-
From: Tim Bachta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 10 June 2003 08:19
To: [EMAIL PROTECTED]
Subject: CSS in Cocoon
I am trying to use a stylesheet in a xsl page and am getting a null
pointer exception coming from my xsl page. My
: Monday, June 09, 2003 3:41 PM
To: [EMAIL PROTECTED]
Subject: RE: CSS in Cocoon
Tim, presumably dialog.xsl is supposed to insert a link element into
the html, pointing at the stylesheet which is passed as a parameter?
But the dialog.xsl appears to expect a parameter called
html.stylesheet, whereas
not. ???
-Original Message-
From: Conal Tuohy [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 3:41 PM
To: [EMAIL PROTECTED]
Subject: RE: CSS in Cocoon
Tim, presumably dialog.xsl is supposed to insert a link element into
the html, pointing at the stylesheet which is passed
Thanks, that worked.
-Original Message-
From: Amelie Cordier [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 4:52 PM
To: [EMAIL PROTECTED]
Subject: RE: CSS in Cocoon
Hello
Why using params in your xsl?
Why don't you try something like that :
In your xsl :
link rel=stylesheet
To: [EMAIL PROTECTED]
TB Subject: RE: CSS in Cocoon
TB Tim, presumably dialog.xsl is supposed to insert a link element into
TB the html, pointing at the stylesheet which is passed as a parameter?
TB But the dialog.xsl appears to expect a parameter called
TB html.stylesheet, whereas the parameter you
Hello,
I've faced with more then mysterious problem: Cocoon (under Apache
Tomcat/4.0) generates error message in server console and in logs if my
css file is more then 2KB (2048b).
I have default sitemap where I just removed all the pipeline and
inserted the following:
map:pipelines
Consider the css request as just another request to cocoon. In other words
you must make an entry in your sitemap for css files. Something like this:
map:match pattern=*.css
map:read src=css/{1}.css mime-type=text/css/
/map:match
In you XSL file you have to make sure you get the