On May 21, 5:58 am, Andrew Leach <[email protected]>
wrote:
> On May 21, 6:33 am, stillepost <[email protected]> wrote:
>
> > If you're so inclined, I'd appreciate any help. Here's an example
> > event:http://stillepost.ca/calendar/montreal/view_entry2.php?id=1857
>
> > In this example, here's the string I'm passing to the Javascript,
> > using GXml.parse (?)
>
> But you're not passing a string. Strings are delimited by either
> single or double quotes. You can't do
> var xmlDoc = GXml.parse(<?xml version="1.0" encoding="utf-8"
> ?><markers>...</markers>);
> In fact Firefox objects to that with a suitable error message. You
> could do
> var xmlDoc = GXml.parse("<?xml version=\"1.0\" encoding=\"utf-8\"
> ?><markers>...</markers>");
> noting the escaping of quotes inside the string.
Hm... I get you, but Firefox wasn't giving me an error, it just wasn't
rendering the map.
I've put the XML string in single quotes but it's still not rendering.
(There are only double quotes in the remainder of the XML.)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---