title: Create XML dynamically talking the data from UI
body: <p>i have a requirement in which i need to create an XML from the data entered by the user. i need to perform this task in Java. the number of data fields can vary depending on user requirement. I have designed the dynamic UI using JSPs and Javascript but i m not getting how to save the data into XML and then pass on to the server.</p>