osx

XML Downloader, how to retrieve xml node value?

mirek's picture

Hey there!

I've just written an iPhone web-server to share accelerometer values as xml:

From iPhone address http://192.168.32.4:50725/ I've got:

<?xml version="1.0"?>
<iphone>
  <acceletrometer x="-0.036337" y="0.072674" z="-0.981105"/>
</iphone>

This information is updated instantly, ie. every new request will return new values.

Anybody knows how to use XML Downloader patch to access/use x, y and z float values from xml?

Mirek Rusin http://mirekrusin.com