tree.LoadXML requires xml extension work around?

I try tree.LoadXML(‘/dir/returnsvalidxml’);

‘/dir/returnsvalidxml’ returns valid xml (copied from your examples)

but it doesn’t work?

The only thing I can think of is that it might require ‘/dir/returnsvalidxml.xml’ as the parameter…

-D

found the solution. my content type in codeigniter was not being set

-D

public function get_event_emails_xml() {
$xml = $this->load->view(‘event_emails_xml2.php.tpl’,’’,true);
$this->output
->set_content_type(‘text/xml’)
->set_output($xml);
}