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.
JG
On Mar 31, 12:18 pm, Andrew Leach <[email protected]>
wrote:
> On Mar 31, 6:03 pm, Jerry Garciuh <[email protected]> wrote:
>
>
>
> > When my XML is returned with no locations found what should I have in
> > <markers></markers>?
>
> > Validator @ W3 objects to the XML below with 'end tag for "markers"
> > which is not finished'. I changed all of my "#REQUIRED" to "#IMPLIED"
> > but this was appreantly not the issue.
>
> > <?xml version="1.0" encoding="utf-8" ?>
> > <!DOCTYPE markers [
> > <!ELEMENT markers (marker+)>
> > <!ELEMENT marker (#PCDATA)>
> > <!ATTLIST marker lat CDATA #IMPLIED>
> > <!ATTLIST marker lng CDATA #IMPLIED>
> > <!ATTLIST marker name CDATA #IMPLIED>
> > <!ATTLIST marker address CDATA #IMPLIED>
> > <!ATTLIST marker distance CDATA #IMPLIED>
> > <!ATTLIST marker phone CDATA #IMPLIED>
> > ]>
> > <markers>
> > </markers>
>
> > Any advice appreciated.
>
> I don't see what this has to do with the Javascript API for Google
> Maps.
> All the answers are
> athttp://www.linuxfromscratch.org/alfs/view/dtd/alfs_dtd/xml_dtd-syntax...
--
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.