[Zope] External script generates xml - how to turn it into an xml file object

Dieter Maurer dieter@handshake.de
Sat, 8 Sep 2001 20:22:02 +0200 (CEST)


Andy Bulka writes:
 > I have an external script that generates an xml string - how do I 
 > turn that xml text into an zope xml file object ?
What do you mean by an "zope xml file object"?

If you mean a "OFS.Image.File" object with "content_type='text/xml'"
it should make no problems at all when the "file" parameter
of "manage_addFile" is a string containing "<" or ">".


Dieter