You should be able to derive from the code to do as you wish. e.g. if you derive from the BranchTreeNode and override the createChildList() and createChildTreeNode() methods you should be able to do whatever you want.
I've just patched the code in CVS to make it a little easier to do this. James From: "David Ramauge" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 11, 2002 5:09 PM Subject: [dom4j-user] Displaying XML attributes in the associated JTree Hello, Is there a simple way to display the attributes of the xml document in the JTree, using James dom4j.swing objects ? Thx -- David ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Gadgets, caffeine, t-shirts, fun stuff. http://thinkgeek.com/sf _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.comm ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user