Howdy!

I'm attempting to create a complex template structure for the website
of the company I work for.  Because of the scope of the site I need the
template to be as flexible as possible.  To that end, I would like to
create a master.kid template which defines several areas or slots which
individual page templates can optionally fill.

For example, the site design has a 'header' area which appears below
the site header and above the columned area; a left column; a right
column; a content area; and a footer area which appears above the site
footer, and below the columned area.

------ H ------
L |    C   | R
------ F ------

All of them are optional except the content area, and the left column
should default to some sane default (i.e. a "current events" listing).

I've attempted to use py:match statements to accomplish what I want,
but I can not seem to find any reference to the properties of the
"item" object.  WTF?  I know (from example) that item[:] returns all
child XML objects, and item.text returns you the CDATA portion.
However, I need a combination of both - and I need to test for its
existance in the first place.

Any help would be greatly appreciated - until I can do this, each page
template will have to re-create the master template.  I'll upload my
current "base" template somewhere if requested.

Reply via email to