Hello everyone,
I am currently evaluating InDesign as a single-source publishing solution (Print /PDF / XHTML). I want to create XHTML from an InDesign document with as little post-processing as possible.
The "Export to Dreamweaver" feature frankly isn't quite what I want/need - e.g., I cannot map paragraph styles such as "Headline1" to an HMTL heading, so I want to use the XML export feature instead.
To prepare and tag my InDesign source file properly, I have imported the XHTML DTD and mapped my document's paragraph and character styles to XHTML tags.
This works, but there are two problems with the resulting files:
1) Links:
I don't see if/how I could preserve internal cross-references (links).
Would I have to manually assign HREF and NAME attributes to preserve links, or is there an automatic solution?
2) Tables:
I can either leave my tables untagged or map the respective table and cell formats to their XHTML equivalents.
a) If I leave tables untagged and export using "Export Untagged Tables as CASL XML", I get tables with "row" and "entry" tags - this CALS syntax that has to be converted to HTML manually.
b) If I use "Map Styles to Tags" to map my tables to XHTML's "table" tag and the table cells to "td" (using the Tagging Preset Options), the resulting files has table and table cell tags - but no table rows.
This means a 10 x 10 cells table turns into a table with 1 row holding 100 cells.
Is there a way to get "proper" (TABLE - TBODY - TR - TD) XHTML tables using InDesign's XML export feature out of the box?
Thank you.
I'm looking for the same thing (CALS table to HTML Table). I suspect we'll have to use a XSLT sheet to covert it, but I haven't found anything useful out there yet.