Hey I cant seem to figure this out. I know I probably need to write some java code but Im not sure how it should look. I have some xml and I need to use the data from within the elements to populate some nodes on a richfaces tree.

I know how to use a .properties file as the data source for the nodes, and how to use some existign nodes to populate the nodes. Both are done with java code I can post here if needed.

But I dont know how to go about writing the java code to take the data from xml elements, and then somehow parse it to use in a richfaces tree.

Here is some info on what Im using with my project:

eclipse
simplexml
httpclient
jsf
richfaces library