Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
mpunkt
mpunkt's Profile
1
Posts
2
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
XML Problem
[4 Replies]
04-Jun-2011 07:50 AM
Forum:
Programming Questions
hi,
im new in processing and i have a problem to get this code working
XMLElement XML;
XMLElement[] synset;
String matches;
void setup() {
matches = "http://www.openthesaurus.de/synonyme/search?q=Hand&format=text/xml";
XML = new XMLElement(this, matches);
synset = XML.getChildren("matches/synset/categories/term");
for (int i = 0; i < synset.length; i++) {
String term = synset[i].getStringAttribute("term");
println("synset"+ i + ";" + term);
}
}
it doesnt print out anything. does anyone know whats wrong with it ??
greetings
«Prev
Next »
Moderate user : mpunkt
Forum