Processing Forum
String data = "<mammals><animal>Goat</animal></mammals>"; void setup() { XML xml = parseXML(data); if (xml == null) { println("XML could not be parsed."); } else { XML firstChild = xml.getChild("animal"); println(firstChild.getContent()); } } // Sketch prints: // Goat