CodeIgniter output XML in View
Posted
by Peter
on Stack Overflow
See other posts from Stack Overflow
or by Peter
Published on 2010-05-21T14:54:01Z
Indexed on
2010/05/23
18:40 UTC
Read the original article
Hit count: 377
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.
© Stack Overflow or respective owner