I did a trial run of a templating system that uses an XML document to define the navigation system (it's at the bottom), on my PC (running Apache and PHP 4.2.1).
However when I moved it to a Linux box running PHP 4.0.2, I get a parse error on line 1. I always use Unix line breaks.
PHP still reads the file correctly, it just spits out the parse error line. I've tried moving the first <section> tag down one line.
Any ideas?
Antun
<?xml version="1.0"?><section title="Company" url="./">
<page title="Team" url="team.php"/>
<page title="Board of directors" url="board.php"/>
<page title="Investors" url="investors.php"/>
<page title="Carreer Opportunities" url="career.php"/>
<page title="Contact Information" url="contact.php">
<page title="Directions" url="directions.php"/>
</page>
<page title="Privacy Policy" url="privacy.php"/>
<page title="Copyright Info" url="copyright.php"/>
</section>