"Ibañez Palomar Juan David" wrote:
It's not zope, it's the browser who adds "<html><head></head>".
Hmm not sure about that, lynx -source gives the same result as netscape.
Besides to send the xml across the web, write it to a file and you'll see that there is no <html><head></head>.
my top level object has the following getXML-method (not useable for other than my own small application):
def getXML(self): """ """ r = '<?xml version="1.0"?>\n<project id="%s">' % self.id for i in self.objectValues(): if(i.id != 'acl_users'): r = r + i.getXML() return r + '</project>\n'
Do I have to somehow change the content-type for my method, or what goes wrong?
Best, Jacob