I just did a quick RSS feed for my Very Bad Poetry site (temp. url is http://www.circletakesthe.com/) and made a simple XML specific layout with the common tags specifying the document type. Then, the view outputs the data.
Are you outputting the document declaration stuff in a view or a layout? On Nov 28, 12:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi everyone, > i was hoping beyond hope that someone may have run into this situation > or knows about it. either way i just need a little love. > I've basicly have a view which is returning xml and in my layout file > (xml.xml) i try to set the header content type, but it won't change. > i also see a white space that is entered on the page before the > content_for_layout is returned. > i'm not sure if one problem is leading to the other. but i need some > sort of way to render xml in a view. > > please let me know if you may have run over this speed bump or if i can > provide more info on the issue > > thanks! > tf --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
