I would like to convert either an html or xhtml document (preferably with styles) to Microsoft .doc and/or .docx format.
There seem to be plenty of examples for doin
In order to work with Microsoft Documents you'll likely have to take a deeper look at Apache's POI Library.
Nevertheless creating .doc files with styling from (X)HTML requires some effort.