Using special CSS classes or HTML5 attributes you indicate which parts of your DOM are to be used as data.
There is a jQuery based reference implementation of the parser with DOM-node re-population for full data round trip in your UI, without enforcing a specific MVC approach.
Based on jQuery
You can also clone the project with Git by running:
$ git clone git://github.com/marcpalmer/HORN