Re: XML output from cake controller/view

2007-04-02 Thread Jeremy Pointer
digital spaghetti wrote: > Instead of your method, check out this tutorial: > > http://bakery.cakephp.org/articles/view/2 > > Its an old article, but still works perfectly in Cake 1.2 > I had already tried that method i.e. created an xml layout with just header() and print("?xml but I was

Re: XML output from cake controller/view

2007-04-02 Thread digital spaghetti
Instead of your method, check out this tutorial: http://bakery.cakephp.org/articles/view/2 Its an old article, but still works perfectly in Cake 1.2 Tane On 4/2/07, Jeremy Pointer <[EMAIL PROTECTED]> wrote: > > I'm trying to output an xml document but I seem to be getting a space > character j

XML output from cake controller/view

2007-04-02 Thread Jeremy Pointer
I'm trying to output an xml document but I seem to be getting a space character just before layout=false; and my view is: "); print(""); foreach ($rows as $row) print("".$row['table']['field'].""); print(""); ?> DEBUG is 0 I also tried removing all beforeFilter and beforeRender settings in app_