I am not sure what the dom1.toxml() does, are you seeing:

<?xml version="1.0"?>
<markers id="id je ok">
       <marker lat="37.441" lng="-122.141" found="Keychain" left="Book"/>
       <marker lat="37.322" lng="-121.213" found="Water Bottle"
left="Necklace"/>
</markers>

in firebug, to be sure that it is correctly returning the xml?  If so
then the problem is most likely within the javascript and you may have
better luck at the googlemaps api group.
-richard


On 5/9/08, Monica Leko <[EMAIL PROTECTED]> wrote:
>
> On 5/9/08, Richard Dahl <[EMAIL PROTECTED]> wrote:
> >
> >  I am not sure what javascript library you are using based on the code
>
> Google maps.  GXmlHttp is just like XmlHttpRequest
>
> Now I have this in my view:
>
> return HttpResponse(dom1.toxml(), mimetype="text/xml")
>
> And still my  var xmlDoc = request.responseXML;
> alert(xmlDoc) is null.
>
> Server sends back this file:
>
> <?xml version="1.0"?>
> <markers id="id je ok">
>        <marker lat="37.441" lng="-122.141" found="Keychain" left="Book"/>
>        <marker lat="37.322" lng="-121.213" found="Water Bottle" 
> left="Necklace"/>
> </markers>
>
> i don't get it
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to