[Zope] How to separate markup from presentation

Stefan H. Holek stefan@epy.co.at
Wed, 15 Nov 2000 20:18:16 +0100 (CET)


On Wed, 15 Nov 2000, Tom Sheffler wrote:

> I'm aware of HiperDom, but I'm wondering if anyone has a good
> suggestion for how to structure docs so that docs can be written
> using abstract tags whose definition is separate.

[snip]
 
> This is the first part of the problem.  Additionally, I would
> like the definitions of my tags (MyH2Start and MyH2End) to be
> dependent on the context in which the content appears.  (If it
> shows up in a sidebar, an H2 looks one way, rather than in
> a main page where is looks another way.)

[snip]
 
> I'm not looking for a product as much as a suggestion for
> a methodology.  Any help appreciated.

You might still want to have look at the DTMLTemplate product ;)
http://www.zope.org/Members/halazar/Products/DTMLTemplate/

HTH
Stefan