Hi list,

I'm using cakePHP version 1.1.7. I'm delivering XML to the browser via
XMLHttpRequest. The controller method looks like this:

$this->RequestHandler->setAjax($this);
header("Content-Type: text/xml");
$this->set('summary',
$this->SiteSummary->summarize($this->data['Bookmark']['url']));
$this->render();

I have DEBUG set to 2. This appends a HTML table to the output which
renders the XML invalid, and indeed responseXML is empty.

I don't want to set DEBUG to 1 because the output is useful on normal
pages.

Does cakePHP provide for such a scenario?

Thanks

Markus


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to