Returning XML with Myghty

2007-03-29 Thread Elias
Does anyone know if it's possible to return an xml template with myghty? I have this template ?xml version=1.0 encoding=ISO-8859-1? message envelope type%c.type%/type msg%c.mesg%/msg /envelope /message I'm calling this in my controller return

Re: Returning XML with Myghty

2007-03-29 Thread Deron Meranda
On 3/29/07, Elias [EMAIL PROTECTED] wrote: Does anyone know if it's possible to return an xml template with myghty? Yes, I do it all the time. In fact you can return just about any type of text-based file even if it's nothing like XML. [You can even output binary data, but that can get

Re: Returning XML with Myghty

2007-03-29 Thread Elias
Thanks a lot that totally makes sense. On Mar 29, 2:41 pm, Deron Meranda [EMAIL PROTECTED] wrote: On 3/29/07, Elias [EMAIL PROTECTED] wrote: Does anyone know if it's possible to return an xml template with myghty? Yes, I do it all the time. In fact you can return just about any type

Re: Returning XML with Myghty

2007-03-29 Thread Pradeep Kishore Gowda
You might also have to set the header content-Type to xml. no? On 3/30/07, Elias [EMAIL PROTECTED] wrote: Thanks a lot that totally makes sense. On Mar 29, 2:41 pm, Deron Meranda [EMAIL PROTECTED] wrote: On 3/29/07, Elias [EMAIL PROTECTED] wrote: Does anyone know if it's possible