XML/XHTML and CSS 2.1 renderer in pure Java