On 11/27/2015 05:27 PM, Jeff Hooker wrote:

I've been asked to create a view in XMLmind of a ditamap with all of the topics 
resolved, similar to how Docbook resolves Xincludes. Clearly this would only be 
as a tool for my authors with smaller documents. It's obviously possible, but 
when I thought about it, it seemed odd that it didn't exist already.

This feature does not exist because in our opinion, it's not useful.

* If you want to check your DITA map and all its topics (e.g. cross-references), please use "Map|Check Map".

* If you want to preview your DITA map with all its topics resolved, please use "Map|Convert Document|Convert to XHTML [one page]".

See http://www.xmlmind.com/xmleditor/_distrib/doc/dita/help-2.html#map_menu




Before I started working from scratch, therefore, I'd thought I'd ask if there 
as anything in particular I should use as a foundation?

No.



Would the CSS for the navigation pane be the place to start?


No. (The XML document opened in the navigation pane and styled using CSS is not the DITA map with all its topics resolved. It's a synthetic TOC generated using XMLmind DITA Converter components. This TOC is then styled using CSS.)

The only idea which comes to my mind is an XSLT stylesheet which a) processes the file containing the map being edited, b) creates a "flatten map" on disk and then c) opens this newly created file using XXE.open.

A DITA map may be very complex. Therefore this XSLT stylesheet may have to deal with complex cases: conditional processing, keyrefs, conref in the map, etc.

May be the DITA Open Toolkit has an option which allows to do this. In such case, replace steps a) and b) in the above suggestion by "invoke DITA Open Toolkit" from within XXE.

XMLmind DITA Converter has no option allowing to do this.

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to