Re: Howto: Make CSS available from within a stylesheet?

2009-05-04 Thread Ken Starks
Yet another person wrote: Ken, Why do you use double *s and not just a single one? On Sun, May 3, 2009 at 7:09 PM, Ken Starks k...@lampsacos.demon.co.uk mailto:k...@lampsacos.demon.co.uk wrote: Yet another person wrote: I've been trying to use a css stylesheet in my xsl

Re: Howto: Make CSS available from within a stylesheet?

2009-05-03 Thread Ken Starks
Yet another person wrote: I've been trying to use a css stylesheet in my xsl transformation but It doesn't come through. It seems cocoon doesn't understand relative paths For local paths, you can use something like the following. (I usually put all my Graphics in a 'Graphics' sub-folder, and

Re: Howto: Make CSS available from within a stylesheet?

2009-05-03 Thread Yet another person
Ken, Why do you use double *s and not just a single one? On Sun, May 3, 2009 at 7:09 PM, Ken Starks k...@lampsacos.demon.co.ukwrote: Yet another person wrote: I've been trying to use a css stylesheet in my xsl transformation but It doesn't come through. It seems cocoon doesn't understand

Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Yet another person
I've been trying to use a css stylesheet in my xsl transformation but It doesn't come through. It seems cocoon doesn't understand relative paths nor does it understand resource/internal/stylesheets/file.css or any other link i've tried. I even made a pipeline to match the css from my sitemap but

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Jeroen Reijn
Hi, your css file will be requested as a browser request, so you will have to make sure you have a matcher in your sitemap that handles this request. What did not work when you tried that? Regards, Jeroen Yet another person wrote: I've been trying to use a css stylesheet in my xsl

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Yet another person
I made the following match in my pipeline: map:pipeline id=stylesheet map:match pattern=*.css map:generate src=resources/internal/Stylesheets/{1}.css type=file / map:serialize type=text / /map:match and my stylesheet pointed to the css like this: link rel=stylesheet type=text/css href=Main.css

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Joerg Heinicke
What exactly are you trying to achieve? An XSLT is used for transforming an XML structure into another one. There is no CSS involved. Do you want to style the output? Joerg On 29.04.2009 11:46, Yet another person wrote: I've been trying to use a css stylesheet in my xsl transformation but It

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Yet another person
I want to aggregate different sources into a styled website.Using a stylesheet to add layout to my data to present the user... On Wed, Apr 29, 2009 at 11:55 AM, Joerg Heinicke joerg.heini...@gmx.dewrote: What exactly are you trying to achieve? An XSLT is used for transforming an XML structure

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Jeroen Reijn
This probably won't work, since a generate is to generate from for instance an XML file, not a static resource. What you actually want to do is use a reader (map:read). Regards, Jeroen Yet another person wrote: I made the following match in my pipeline: map:pipeline id=stylesheet

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Yet another person
like this? map:pipeline id=stylesheet map:match pattern=*.css map:read src=resources/internal/Stylesheets/{1}.css type=file / /map:match /map:pipeline didn't work either On Wed, Apr 29, 2009 at 12:00 PM, Jeroen Reijn j.re...@onehippo.com wrote: This probably won't work, since a

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Yet another person
Oh dear god, I thought it was something silly. I got it to work, sorry for bothering you. I forgot the folder is called resource instead of resources Thanks for your efforts anyway! On Wed, Apr 29, 2009 at 12:02 PM, Yet another person breathofgh...@gmail.com wrote: like this?

RE: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread norbert . reinhard
Thank you Andreas for your response if I change the local.build.properties in the following setting: pubs.root.dirs=src/pubs:../CONTRIB_HOME/pubs modules.root.dirs=src/modules:src/modules-core:src/pubs/default/modules:../CONTRIB_HOME/modules:../CONTRIB_HOME/pubs/defaultfiredocs/modules