It sounds like you might want to add a Content-Disposition header: http://stackoverflow.com/questions/1012437/uses-of-content-disposition-in-an-http-response-header has some pointers. Try the 'filename' option.
http://docs.marklogic.com/xdmp:save supports an omit-xml-declaration option. -- Mike On 5 Mar 2013, at 13:12 , Samah Abu-Mahmeed <[email protected]> wrote: > Hi all, > > > I have a script that creates word docs of xml files. It returns a zipped file > of all the word docs. > > <image001.png> > > 1. Is there a way to re-name the response? I can set the type of the > response. I want also to rename it > > 2. The output of the step in line 4 are word ML files. When I save the > output of this step to the file system, the word ML files have the Xml > declaration > <?xml version="1.0" encoding="UTF-8"?> > > But when I save the output of the zip-create step, I lose that declaration. > How do we tell zip-create to keep the XML declaration? > > Best, > > -Samah > > > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
