The publishing engine has support to dynamically convert various types of non-DITA resources to DITA while publishing. This support also enables the dynamically converted document titles for the non-DITA resources that are referenced in a DITA map to be displayed as the title of the resource in the DITA Maps Manager.
@format
attribute on the <topicref> element:word-to-dita)Microsoft Word documents that are referenced in the
DITA map using the word-to-dita value for the @format
attribute get dynamically converted to DITA topics during publishing. Image references
and internal links are preserved.
<topicref href="sample.docx" format="word-to-dita"/>excel-to-dita)Microsoft Excel documents that are referenced in the
DITA map using the excel-to-dita value for the
@format attribute get dynamically converted to DITA topics that
contain one or more tables during publishing.
<topicref href="sample.xlsx" format="excel-to-dita"/>openapi-to-dita)OpenAPI documents (versions 2.0, 3.0, or 3.1) in JSON or YAML
format that are referenced in the DITA map using the openapi-to-dita
value for the @format attribute get dynamically converted to DITA
topics during publishing.
<topicref href="openapi.json" format="openapi-to-dita"/>
<topicref href="openapi.yaml" format="openapi-to-dita"/>html-to-dita)HTML documents that are referenced in the DITA map using the
html-to-dita value for the @format attribute get
dynamically converted to DITA topics during publishing.
<topicref href="sample.html" format="html-to-dita"/>markdown)Markdown documents that are referenced in the DITA map using the
markdown value for the @format attribute get
dynamically converted to DITA topics during publishing using the support for Markdown
bundled with the publishing engine by default.
<topicref href="sample.md" format="markdown"/>markdown-to-dita)Markdown documents that are referenced in the DITA map using the
markdown-to-dita value for the @format attribute
get dynamically converted to DITA topics during publishing using the special
conversion plugin provided by Oxygen XML Author Eclipse plugin. The
markdown-to-dita format conversion is more flexible that the
built-in markdown conversion, allowing the conversion of Markdown
documents that do not have consistent heading levels.
<topicref href="sample.md" format="markdown-to-dita"/>