thank Larry
i have "inhibed" the line but i have another error message

function parseToXML($htmlStr)
{
$xmlStr=str_replace('<','&lt;',$htmlStr);
$xmlStr=str_replace('>','&gt;',$xmlStr);
$xmlStr=str_replace('"','&quot;',$xmlStr);
//$xmlStr=str_replace("'",'&#39;',$xmlStr); blocked line
$xmlStr=str_replace("&",'&amp;',$xmlStr);
return $xmlStr;
}

now the error message are incorrect charactere

"<markers><marker name="l'a""

thank you




On 8 oct, 10:29, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Oct 8, 1:26 am, Serna <[EMAIL PROTECTED]> wrote:
>
> > sorry the script php are now like this ( but the markers are invisble
> > in explorer 7 or 6 )
>
> The markers are not invisible.  IE considers your xml invalid:
>
> http://www.memopage.com/voyages/google_carte/ville/phpsqlajax_genxml2...
>
> The XML page cannot be displayed
> Cannot view XML input using XSL style sheet. Please correct the error
> and then click the Refresh button, or try again later.
> ---------------------------------------------------------------------------­-----
> An invalid character was found in text content. Error processing
> resource 'http://www.memopage.com/voyages/google_carte/vil...
>
> <markers><marker name="l&amp;#39;a
>
>    -- Larry
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to