On Mar 31, 6:29 pm, Jerry Garciuh <[email protected]> wrote:
> Thank you for the reply.
>
> When supplied that XML IE throws the JavaScript error
>
> Error: 'documentElement' is null or not an object
>
> referencing these lines
>
>        var xml = GXml.parse(data);
>        var markers =
> xml.documentElement.getElementsByTagName('marker');
>
> I would like to know what I can do to eliminate this JavaScript error.

That's not the question you asked. Help us to help you: please supply
a link as requested in the posting guidelines.

The error means that the xml has not parsed correctly. There could be
any number of reasons for that, including an invalid DTD -- or data
which does not validate against the DTD. What your DTD is actually
defining, and how to specify it to validate the data you are
generating, is explained in the document I linked to.

-- 
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