Google Groups Home
Help | Sign in
GXmlHttp.responseXML is null
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Monica Leko  
View profile
 More options May 9, 1:16 pm
From: Monica Leko <monica.l...@gmail.com>
Date: Fri, 9 May 2008 10:16:05 -0700 (PDT)
Local: Fri, May 9 2008 1:16 pm
Subject: GXmlHttp.responseXML is null
Hi

Server returns this file:
<?xml version="1.0" ?>
<markers>
  <marker found="Keychain" lat="37.441" left="Book" lng="-122.141" />
  <marker found="Water Bottle" lat="37.322" left="Necklace"
lng="-121.213" />
</markers>

And my responseXML is always null.  The code is below

        var request = GXmlHttp.create();
        //open the request to storeMarker.php on your server
        request.open('GET', '/lbs/' + getVars, true);
        request.onreadystatechange = function() {
                if (request.readyState == 4) {
                        //the request is complete

                        var xmlDoc = request.responseXML;
                        alert(xmlDoc);
If I write alert("ok"), than alert popups and write ok, and
immediatelly page render this XML file.

Can anone suggest the problem?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
geocodezip@gmail.com  
View profile
 More options May 9, 1:49 pm
From: "geocode...@gmail.com" <geocode...@gmail.com>
Date: Fri, 9 May 2008 10:49:29 -0700 (PDT)
Local: Fri, May 9 2008 1:49 pm
Subject: Re: GXmlHttp.responseXML is null
On May 9, 10:16 am, Monica Leko <monica.l...@gmail.com> wrote:

What browser are you using?

A link to your map and xml would be useful.

Most of the time I have found it helps to use xmlDoc =
GXml.parse(request.responseText) rather than request.responseXML.

  -- Larry


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sailorarie  
View profile
 More options Jun 9, 11:17 am
From: sailorarie <sailora...@gmail.com>
Date: Mon, 9 Jun 2008 08:17:58 -0700 (PDT)
Local: Mon, Jun 9 2008 11:17 am
Subject: Re: GXmlHttp.responseXML is null
Did you send your request ? ( request.send(null);) ?

On 9 mei, 19:16, Monica Leko <monica.l...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google