Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
processingprogrammer
processingprogrammer's Profile
1
Posts
1
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
Reading xml file in a class using XMLElement
[3 Replies]
16-Jul-2011 06:43 PM
Forum:
Programming Questions
I want to load and process an xml file in a class, not in setup or draw or any other method that would be in PApplet directly.
So,how do I construct an XMLElement if I have to pass a reference to the PApplet?
class myClass
{
......
......
void methodToReadXMLFIle( String filename )
{
XMLElement xmlElt = new XMLElement( ?WHAT-DO-I-PUT-HERE?, filename );
...
}
}
«Prev
Next »
Moderate user : processingprogrammer
Forum