I've been having difficulty using xtemplate to achieve the layout I'd like.

I'm fairly well versed in CSS layout, but my PHP is lacking slightly.

I've read through the xtemplate handbook section and it mentions that you can nest sections within one another. However, it seems that doing that with the 'main' sections results in problems (no information displayed or error messages).

For instance, if I wanted a search box at the top AND bottom of the page seemingly I would either have to have a second separate header section underneath the footer section or nest the header section and the search section in the footer section.

Nesting seems not to work at all

And having a second header section results in 4 search boxes which are still out of place!

Is it possible to repeat elements in different sections/areas of the layout?