lol... i saw that after I replied... sorry.
I was reading that page... but I may be in over my head.
it looks like i would want the:
else if (document.implementation &&
document.implementation.createDocument)
{
xmlDoc=document.implementation.createDocument("","",null);
xmlDoc.load("note.xml");
xmlDoc.onload=getmessage;
}
to use some variation of: var html = GXml.value(markers
[i].getElementsByTagName("infowindow")[0]);
so non-IE browsers will load the Gxml?...
or is there a way for the .xml file to get converted to GXml then call
the GXml object for ALL browsers in this (code for IE section)
function loadXML()
{
// code for IE
if (window.ActiveXObject)
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async=false;
xmlDoc.load("locations_all.xml");
var x=xmlDoc.documentElement;
f1();
}
I might have to recruit someone to help me doctor my code.... what are
you doing later today? LOL
I am hesitant to change this code to look to GXml... because there are
a lot of places that place code in the .xml file.... but If I could
have code that would load the .xml and convert to GXml... then have
the markers pulled from the GXml... that would be cool.
Any advice or direction is appreciated... at the very least I can pass
it along if I track down someone to work on this code for me.
On Feb 13, 10:20 am, "warden [Andrew Leach - Maps API Guru]"
<[email protected]> wrote:
> On Feb 13, 5:18 pm, CheckOutMyTrip <[email protected]> wrote:
>
>
>
> > How hard is it to convert the code to use the GXml object?
>
> > Do you have any links to articles about that?
>
> I'm glad I'm not the only one who misses links!
>
> > On Feb 13, 10:13 am, "warden [Andrew Leach - Maps API Guru]"
>
> That question still stands, though. Seehttp://econym.org.uk/gmap/basic3.htm
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---