Displaying 1 result from an estimated 1 matches for "test_xml".
Did you mean:
destxml
2009 Aug 04
1
Output XML to File
...ler)
@xml.issuedate(unusedticket.issuedate)
end
end
}
headers["Content-Type"] ||= ''text/xml''
headers[''Cache-Control''] = ''private''
headers["Content-Disposition"] ||= "attachment; filename=\"test_xml\""
render :text => @xml, :layout => nil
I really thought that if I said :layout => nil that would strip away all
the html formatting, but apperantly not. Is there a way that I can write
this information to a file and have it be strictly XML? Thanks,
-S
--
Posted via http://...