After a bit of research ive found its suprisingly simple to do in dtml (ugh): <dtml-if "REQUEST.get('CONTENT_TYPE', '') == 'text/xml'"> xml-rpc / soap etc <dtml-else> html </dtml-if> Cheers. -- Andy McKay. ----- Original Message ----- From: "Andy" <andy@agmweb.ca> To: "Chris Withers" <chrisw@nipltd.com> Cc: <zope-dev@zope.org> Sent: Tuesday, August 28, 2001 7:36 AM Subject: Re: [Zope-dev] xml-rpc/soap errors
make standard_error_message a python script which only renders a template in a given set of circumstances?
Hmm still the same solution, but probably the only one I have. -- Andy McKay
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )