[Zope] manage_addFile - getting DTML method results as file input

David Siedband david at calteg.org
Thu Jul 29 17:48:56 EDT 2004


I have a DTML method 'resource_xml' that produces an XML file.  I'm 
want to apply this method to the records returned by a zSQL 
'selectExportDocs' and save each the XML for each one.

<dtml-call "REQUEST.set('file_type', 'text/xml' )">
   <dtml-in "queries.selectExportDocs()">
     <dtml-in "resource_xml()">
       <dtml-call "this().manage_addFile(REQUEST['id'], file, 
REQUEST['title'])">
     </dtml-in>
   </dtml-in>

How do I get the xml text returned by the method into the file input of 
manage_addFile?

tia
--
David







More information about the Zope mailing list