Document API: deal with used IStyles, XHTML first steps: generate CSS