I was thinking it would be a great way to allow designers to focus on
the presentation layer while allowing programmers to focus on the
processing of the form data.
I realize that the source XHTML document might not, in fact, be a valid
XHTML document (because it would need to contain elements and
attributes that provide hints on how the data should be processed), but
it might make for a very useful tool.
Also, any suggestions on how to merge the data coming in from a submit
action in a browser with the XHTML "template" (on the server, that is)?
I'm getting really, really tired of mixing my program code with
presentation code. It's far too time-consuming to maintain!