<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://xmladvice.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>XHTML</title><link>http://xmladvice.com/forums/398/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>needing to use xml data source to populate richfaces tree nodes</title><link>http://xmladvice.com/forums/thread/53310.aspx</link><pubDate>Tue, 26 May 2009 02:54:22 GMT</pubDate><guid isPermaLink="false">3e274673-4f98-48a3-a750-5e76696965bc:53310</guid><dc:creator>meghiddo</dc:creator><slash:comments>0</slash:comments><comments>http://xmladvice.com/forums/thread/53310.aspx</comments><wfw:commentRss>http://xmladvice.com/forums/commentrss.aspx?SectionID=398&amp;PostID=53310</wfw:commentRss><description>&lt;p&gt;Hey I cant seem to figure this out.&amp;nbsp; I know I probably need to write some java code but Im not sure how it should look.&amp;nbsp; I have some xml and I need to use the data from within the elements to populate some nodes on a richfaces tree.&lt;/p&gt;&lt;p&gt;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.&amp;nbsp; Both are done with java code I can post here if needed.&lt;/p&gt;&lt;p&gt;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.&lt;/p&gt;&lt;p&gt;Here is some info on what Im using with my project:&lt;/p&gt;&lt;p&gt;eclipse&lt;br /&gt;simplexml&lt;br /&gt;httpclient&lt;br /&gt;jsf&lt;br /&gt;richfaces library&lt;/p&gt;</description></item></channel></rss>