LoadXML Error on Mozilla Firefox, on IE working?


I have a LoadXML Error on Mozilla Firefox on IE is it working.

My PHP Generates this XML Code:

    public function profiletabsAction() {


        echo “<?xml version=\"1.0\"?>\n”;

        echo “<tabbar hrefmode=“ajax-html”>\n”;

        echo “\n”;

        echo “<tab id=“b1” width=‘100px’ selected=“1” href=”/profile/user?username=". $this->_request->getParam(“username”) ."">Profil\n";

        echo “\n”;

        echo “”;


Thank you for you help.

Please be sure that your php file doesn’t produce any output before <?xml tag (any new line or white-space can break XML parsing), this is most common issue of “incorrect XML” error in FF