Don't try to do this project in one step. I suggest that you start with a test program to read the XML into a DOM, modify the DOM and write it out. Once you have that working it will be time to add the JTree display and user interaction.
Whatever you say buddy! And I believe this tiny ad too:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your databasehttps://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database