So what exact errors are you getting? Specifically, what is working and not working (so we don't have to guess or mind read)?
Also, see the following from the PHP manual -
Quote:
11. How am I supposed to mix XML and PHP? It complains about my <?xml tags!
In order to embed <?xml straight into your PHP code, you'll have to turn off short tags by having the PHP directive short_open_tags set to 0. You cannot set this directive with ini_set(). Regardless of short_open_tags being on or off, you can do something like:
<?php echo '<?xml'; ?>.
|