Home Forums DITA and XMetaL Discussion Notes graphics in HTML Reply To: Notes graphics in HTML

Derek Read

Reply to: Notes graphics in HTML

There is no simple way to do this (a checkbox or special setting). The DITA Open Toolkit is not designed to support this so you would need to make modifications to the XSLT that ultimately generates the HTML. Those files live here (with a default installation):
C:Program FilesCommon FilesXMetaL SharedDITA_OTxslxslhtml

…and your changes would ultimately need to override logic in this file: dita2htmlImpl.xsl

Injecting something like the following into each of the XSLT templates (starting at about line 646 which begins with ) may be good enough for you:

…or (probably preferred for portability):

It does not give you lots of flexibility, but it should give you the HTML you need.

If you are running the 5.5 or later release you will also want to read this post about how the DITA Open Toolkit is deployed: http://forums.xmetal.com/index.php/topic,237.0.html

Reply

Products
Downloads
Support