CSS in Cocoon

2003-06-09 Thread Tim Bachta
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

RE: CSS in Cocoon

2003-06-09 Thread Conal Tuohy
-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

RE: CSS in Cocoon

2003-06-09 Thread Tim Bachta
: 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

RE: CSS in Cocoon

2003-06-09 Thread Amelie Cordier
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

RE: CSS in Cocoon

2003-06-09 Thread Tim Bachta
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

Re[2]: CSS in Cocoon

2003-06-09 Thread Peter Velychko
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

Problem with linking to CSS via Cocoon

2002-03-22 Thread KOZLOV Roman
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

Re: CSS with COCOON

2002-02-21 Thread Bert Van Kets
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