I'm no expert on XML, but think I know the answer to this, sorry if
I'm wrong.

If you're after a manual/static page to be shown (doesn't matter what
language) it can be done from any controller/action.  Add the
RequestHandler component and simply by requesting /yourcontroller/
youraction.xml Cake will know to look for an XML view and layout.

Your view should be saved in /app/views/yourcontroller/xml/
youraction.ctp and it's probably wise to create an /app/views/layouts/
xml/default.ctp.

My only contact with XML to date is creating RSS feeds so forgive me
if I am oversimplifying this, but I worked through the following to
create my feeds:
http://book.cakephp.org/view/483/Creating-an-RSS-feed-with-the-RssHelper

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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

Reply via email to