I have written a Swing GUI which is a text areas based GUI. When a user enters the data into the GUI it should be able to merge these data into a separate XML Template file at the appropriate locations. How can I achieve this? I have written a Swing GUI which is a text area