Edit online

Oxygen XML Editor integrates the entire DITA for Publishers plugins suite and provides some possibilities for migrating content from Microsoft Office® (and other Office-type formats) to DITA. There are also possibilities for migrating various other types of formats. For more information, see Migrating Various Document Formats to DITA.

Migration from Office-type formats to XML is rarely perfect and manual changes may need to be made to the converted content, but the methods described below should help you find the best approach for your particular case.

Method 1 (Single Document)

  1. Open the document in MS Office (or other similar application), select all the content, and copy it.
  2. Open Oxygen XML Editor and create a new DITA topic.
  3. Paste the selected content in Author mode. The Smart Paste functionality will attempt to convert the content to DITA.

Method 2 (Single Document)

  1. Save your document as HTML.
  2. Once you have converted it to HTML, you have several possibilities:
    • In Oxygen XML Editor, select File > Import > HTML File to import it as XHTML. Then, open the XHTML in Oxygen XML Editor and use one of the XHTML to DITA Transformation Scenarios to convert the content to DITA.
    • Open the HTML file in any Web browser, select all of its content, and copy it. Then, open Oxygen XML Editor, create a new DITA topic and paste the selected content in Author mode. The Smart Paste functionality will attempt to convert the HTML content to DITA.

Method 3 (Single Document)

  1. Open the document in the free LibreOffice application and save it as DocBook.
  2. Open the DocBook document in Oxygen XML Editor.
  3. Run the built-in transformation scenario called DocBook to DITA.
  4. You may need to make some manual adjustments for elements that couldn't be mapped.

Method 4 (Single Document)

  1. Save the document in the MS Word DOCX format.
  2. Open it in the Archive Browser view in Oxygen XML Editor and then open the document.xml file contained in the archive.
  3. Run the built-in transformation scenario called DOCX DITA. This scenario runs a build file over the DOCX archive and should produce a DITA project that contains a DITA map and multiple topics.
  4. You may need to do some manual reconfiguration to map DOCX styles to DITA content.

Method 5 (Multiple Documents)

  1. Use a tool to convert the documents to DocBook. For example, Pandoc is a free document converter engine that can convert DOCX documents to DocBook and according to Pandoc's manual, you can specify multiple input files and use wildcards in the commands.
  2. Save the newly converted DocBook documents somewhere in your project.
  3. Perform a batch transformation on all the newly converted DocBook documents:
    1. Select all the DocBook documents in the Project view.
    2. Right-click the selected files and choose Transform > Configure Transformation Scenario(s).
    3. Apply the built-in transformation scenario called DocBook to DITA.
  4. You may need to make some manual adjustments in the resulting documents for elements that couldn't be mapped.

Method 6 (Multiple Documents)

  1. Use a tool to convert the documents to HTML or Markdown. For example, Pandoc is a free document converter engine that can convert DOCX documents to those formats.
  2. Use Oxygen's Batch Converter add-on to convert the documents to DITA.
  3. You may need to make some manual adjustments in the resulting documents for elements that couldn't be mapped.

Migrating Excel and Other Types of Spreadsheets to DITA

There are two possibilities for converting Microsoft Excel (or other similar types of documents) to DITA: