I don't know what your exact problem is but I would guess that all
those namespaces might be an issue.   IE and Firefox handle namespaces
differently (IE gets it wrong!).  Something like this would work in IE:

var items = node.getElementsByTagName('entry');
for (var n=items.length-1; n >= 0; n--) {
        var itemStartDate =
items[n].getElementsByTagName("gd:when")[0].getAttribute("startTime");
}

However, if you are using Firefox you would need to use something like
this:

var items = node.getElementsByTagName('entry');
for (var n=items.length-1; n >= 0; n--) {
        var itemStartDate =
items[n].getElementsByTagNameNS("http://schemas.google.com/g/2005","when";)[0].getAttribute("startTime");
}

See also:
<http://ajax.phpmagazine.net/2006/04/howto_integrate_google_calenda.html>

Hope this helps,

Mark


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data 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-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---

Reply via email to