On 01 March 2002, Jeff Rush said: > In the Request object of Zope, which I believe Quixote built on, you > _can_ add or set headers while deep in the body of a page, via the > methods: > > Response.addHeader(name, value): > Response.appendHeader(name, value, delimiter=,): > > It's not a DOM solution, nor one that supports general 'reaching back', > but it does help with the common case of header manipulation. That's for HTTP headers. David was asking about the of the HTML document, but the "reaching back" problem is broader than that. (Eg. "how do I add a header to the first row of this table I'm now building"?) I think the general answer is to structure your code so you don't need to reach back, ie. ask all the "What am I going to render today?" questions up front. Greg -- Greg Ward - software developer gward@mems-exchange.org MEMS Exchange http://www.mems-exchange.org