Extending AbstractXsltView, I am trying to domify my objects and add it to the model object
Here is my code
Do you (or anyone) know of a way to achieve the same in any fashion. Spring website provides an example which works for me (but its too simple for me to use it to comprehend the problem in the above situation).
Your document already has a root node, right? And an XML document can only have one root node. So when you try to add another child to the document, you are violating that rule. Probably you meant to add that node somewhere lower in the tree.