I don't know the answer to your question, but wanted to propose two other options in the event you hadn't come across them. From the
file menu you can choose to export to Dreamweaver to get an XHMTL file that you can subsequently attach a CSS file to for styling. Or, you could tag the document with XML, then export the XML and attach an XSLT that InDesign will process ultimately giving you ...