introduce new TagWriter class as a base for HTML and XML writers
keep track of parent element stack in TextWriter
adjust StyleDeclarationSet.collectStyles
implement FOWriter and integrate style engine
move utility methods from FO renderer to FO writer
pass element instead of options to FOWriter to integrate with CSS engine
avoid writing FO tags without attributes around plain inline text