Thanks for the quick response!
I'm a little confused because, when I run the code below, the console prints a bunch of zeros, but printing the "kid" XMLElement to the console shows the data...
XMLElement xmlFeed;
void setup() {
size(600, 600);
xmlFeed = new XMLElement(this, "http://jonlinton.com/ipw/getsteps.php");
int numEntries = xmlFeed.getChildCount();
for (int i = 0; i < numEntries; i++) {
XMLElement kid = xmlFeed.getChild(i);
//get an attribute of an xml node
int id = kid.getInt("id");
float steps = kid.getFloat("steps");
float lon = kid.getFloat("lon");
float lat = kid.getFloat("lat");
//getting content from a node;
//String nodeContent = kid.getContent();
println(id);
println(steps);
println(lon);
println(lat);
//println(kid);
}
}
void draw() {
background(0);
}