30 Jul
2004
30 Jul
'04
11:24 a.m.
From: "David Siedband" <david@calteg.org>
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?
Have you tried: <dtml-call "this().manage_addFile(REQUEST['id'], _['sequence-item'], REQUEST['title'])"> HTH Jonathan