Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-533

XML parsing not working (Kitchen Sink 0.9.3)

    Details

      Description

      {html}<div><p>XML comes in fine but the individual fields cannot be extracted
      with the following code:</p>
      <pre>
      <code>Ti.API.info("user node = "+this.responseXML.documentElement.getElementsByTagName("screen_name").item(0).nodeValue);</code>
      </pre>
      <p>You can see in the output below (very last line) that user node
      = null</p>
      <pre>
      <code>[INFO] twitter xml [object TiDOMDocument] text
      Thu Mar 23 00:03:19 +0000 2006
      123
      finished analyzing smam/ac success rates
      web
      false
      false
      17
      Tony Stubblebine
      tonystubblebine
      Mill Valley, CA
      Founder of CrowdVine. Interested in events, smallbiz, social software.
      http://a1.twimg.com/profile_images/609823904/tonystubblebine3_normal.png
      http://www.stubbleblog.com
      false
      6555
      0D7CDA
      000000
      0000ff
      91FFE9
      131411
      218
      Tue Mar 21 21:01:35 +0000 2006
      24
      ~28800
      Pacific Time (US & Canada)
      http://a1.twimg.com/profile_background_images/32/OTHER-Lista_1280x1024.jpg
      false
      false
      false
      2072
      en
      false
      [INFO] user node = null</code>
      </pre></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              kwhinnery Kevin Whinnery
              Reporter:
              ryang Ryan G
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-504
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration