19 Jan
2000
19 Jan
'00
4:37 p.m.
Michel Pelletier wrote:
Use XMLDocument.
Um, but possibly he doesn't want to (while I definitely recommend XMLDocument) and he asked how to manually set the return header. Wouldn't Zope stay away from the returned text if it isn't set to text/html? Anyway, some minor experimenting seems to indicate that this DTML method may be a step into the right direction: <dtml-call "RESPONSE.setHeader('Content-Type', 'text/xml')"> <foo> <bar>foo</bar> </foo> Regards, Martijn