What about:

<?
(...)

header('Content-type: text/xml'); // <=

echo <<<XML
<?xml version="1.0" encoding="iso-8859-2"?>
<message>
    <content>{$c}</content>
</message>
XML;
?>

--
Ariel Flesler
http://flesler.blogspot.com

On 10 abr, 11:11, Totha <[EMAIL PROTECTED]> wrote:
> Hello guys, Please help.
>
> Belove works well in Firefox an Opera but not in IE.
> In IE nothing is returned...
>
> Client side:
> - appends result to <div id="reader">
>
> $.get('page/dbRead.php', function(xml) {
>  $('#reader').append( $(xml).find('content') );
>
> });
>
> Server side:
> - script produces very simple xml response
>
> <?
> (...)
>
> echo <<<XML
> <?xml version="1.0" encoding="iso-8859-2"?>
> <message>
>     <content>{$c}</content>
> </message>
> XML;
> ?>
>
> That's it.
>
> Any idea, how to make it works? The solution, other than producing
> palin text instead xml?
>
> Cheers,
> totha

Reply via email to