On 2005-05-04 11:47:13 -0400, Michael Wechner <[EMAIL PROTECTED]> said:

Sean Fulton wrote:

I'm curious as to how others are doing templates for subsections of their site to vary the style and some content. I was going to do custom resource types but the howto suggests that's not appropriate and I can see why. How do you do it? Custom pipelines?


yes. In the case of the default publication I would add additional pipelines to
doctypes.xmap, whereas the matcher can depend on the URL pattern or doctype of whatever.

Ah, thanks. I hadn't thought of adding the pipeline there. Is there a naming convetion for the xslts in this case? If it's a new doctype, you would name it 'page2xhtml-doctype.xsl.' But what about if you're just doing this pipeline? Or does it not really matter what you call it?



Logic within the an XSLT?


I wouldn't recommend that, because in the long run it will lead into a nightmare ;-)
whereas for little stuff it might make sense, but normally this little ones tend
to grow ...

Yeah, I was starting to go this way. The more I started doing like this the more I realized how convoluted it would get.


Thanks for the help,

        Sean


HTH

Michi


Thanks,

Sean



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to