Using parsed XML as data format for MVC implementation
Instead of using Beans to contain the data for JSP pages I want to use XML objects. For example, a 'Document' object which represents XML data.
I should then be able to interface easily with web services -some clients might require the raw xml string. Furtermore, I am not tied to JSP. I could use XSLT or browser based XSL stylesheets.
The interface between my controller and processes will then also be a 'Document' instead of pre-defined methods.
I would like to know what are the pros and cons of my approach? Is this kind of design used anywhere?

