> but be assured, after one or two months of utter confusion, things > become easier. initially, lenya is like shooting sparrows with cannons, > as a german proverb says. everything is fiendishly complicated and much > too powerful and generic for simple problems. > but after a month or so, the sparrows are all dead, and when you start > tackling the bigger targets, cannons are actually quite fun to use.
I hope so, I'm slowly learning, which is the problem. I'm not very patient. > is this just a static stylesheet, or do you want your editors to be able > to change it on a page-by-page basis? Hmm, yes the content in the stylesheet would be static, but I want to the stylesheet that is loaded to be dynamic and determined by a pipeline. Perhaps I didn't explain well enough. My thought was to enable an editor to add a stylesheet named "thispage.css" in any content directory (not through lenya, through access to the filesystem) in which they needed additional styling. > if it's static, no need to deal with pipelines, just reference it as > href="{$root}/css/yourstyle.css" and put it in > <pub>/resources/shared/css. if you want one stylesheet per page, you > could use "{$root}/css/{$document-id}.css", but this pretty much negates > the idea of content management, since you will want consistent design. Not entirely, if the page-specific CSS is included before the global stylesheet (page.css) this shouldn't be too much of a problem. Additionally, there is likely going to be only one person who will be doing this, and they will have control of the global stylesheet as well. But the motivation for doing this is basically what you talked about with image alignment. Using "{$root}/css/{$document-id}.css" would work, but I personally liked my idea of having the CSS file stored in the same place as the content, it's a bit more concise. I also figured this would be a good execise in using xmaps, but I just don't follow them. I really do not understand what the CSS portion of the pipeline in resources-shared.xmap does (why does the src attribute for map:act not match the src attribute for map:generate directly below it?). At some point, I need to figure out how to modify everything so that my page.css is created dynamically through an XSLT so that I can change my background-image: url( $url ) depending on my node. Thank you for your help so far. -- Derek Harmel :: Web Programmer :: KCI Technologies :: (410) 891-1746 :: [EMAIL PROTECTED]