CodeIgniter output XML in View
- by Peter
I tried to output XML in the view file. The view file is result_view.php and its first line is
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
But I get the error "Content is not allowed in prolog". So how to do this correctly? I use Eclipse + PDT.