I have to export a lot of InDesign documents to HTML. I need to have total control over exported tags, attributes etc., so I've decided to use XML features (HTML export is just too "weak" for this task). After mapping the styles, everything looks quite good. But two major problems appear:
- Some of the elements (like paragraphs) have to be wrapped in tags like DIV. It can be done manually in structure panel, but is there a way to do it automatically? It would save me a lot of time since the documents are quite long. As far as I see, only character styles are automatically nested.
- Some of my tags have to have attributes. Is there any way to tell InDesign to set them automatically? And unfortunately I'm not talking only about "class" attribute.