[Zope] XML/headers

Michel Pelletier michel@digicool.com
Wed, 19 Jan 2000 10:58:03 -0500


Use XMLDocument.

http://www.zope.org/Products/XMLDocument

-Michel

> -----Original Message-----
> From: Ulf Engstrøm [mailto:b2blink@hotmail.com]
> Sent: Wednesday, January 19, 2000 11:23 AM
> To: zope@zope.org
> Subject: [Zope] XML/headers
> 
> 
> Hello...:)
> I've made a little py-script in Zope that is to return:
> 
> <?xml version="1.0"?>
> My xml stuff
> </xml>
> 
> However, when I have a regular return statement in the py, I'll get a 
> <html><head></head>
> <?xml version="1.0"?>
> ..
> </xml>
> in return. Can I get rid of the <html> stuff at the first 
> row? Also, can I 
> edit the headers sent by the server in return, they shouldn't say 
> type="text/html" since that's not what it is.
> Hope someone can help me, would really be apprechiated :)
> 
> Best regards
> Ulf Engstrøm
> ulf.engstrom@b2b-link.com
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>