This is not finished yet.
In this demo we use attributes in a special namespace. This makes it possible to put attributes to nodes without being forced to reuse "id" or otherwise produce invalid html.
There are two ways to provide these attributes in pages: with real xhtml (mimetype text/xhtml), namespace attributes can be used, with transitional xhtml (mimetype text/html) the attributes can be encoded into "class" attributes. Both are demonstrated in this example in parallel, but in reality, one of these should be used depending on the content type of the page.