try this and see if it works.
(i'm assuming your jsp POST the FORM to the servlet.)
1. use the serializer to convert the xml document into a string
2. put this string as a hidden field within the form
3. at the servlet DOPOST, convert it back to xml document using the document's parse method.
i've forgotten where to download the serializer, u will need to check with the other experts here.