Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

this.responseXML returns null in xhr.onload function.

Dear All,
I am facing a problem after installing new Update of Titanium Developer i.e. 1.4.0, that my already working application to show the results of RSS Feed, is stopped working, with Titanium SDK 1.4.0. It just returns null value for
"xhr.onload = function()
{var doc = this.responseXML};"
While when I run the same selecting Titanium SDK 1.2.0 It works nicely.
please suggest.

— asked November 24th 2010 by Amit Srivastava
  • 1.4.0
  • onload
  • responsexml
  • sdk
  • xhr
0 Comments

1 Answer

  • I believe there is a known issue regarding this problem, try this

    // use xhr instead of this
    xhr.onload = function() { 
       var doc = xhr.responseXML;
    };
    
    — answered November 30th 2010 by Aaron Saunders
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.