Using a custom Word to DITA transformation configuration

Use a catalog to add a custom transformation file to your Word to DITA pipeline configuration.
You must have created an Alfresco pipeline configuration based on the Word-to-DITA pipeline definition.
The provided Word-to-DITA pipeline definition uses a default XSLT transformation file. When you create your own Word-to-DITA XSLT stylesheet, you need to add it to your pipeline configuration.
  1. Import your custom style-to-tag map configuration file into a dedicated customization space in Alfresco.
    Your custom configuration file could be named as follows: Customization/word2dita/xsl/docx2dita-custom.xsl
  2. Open your Customization/catalog.xml customization catalog or create a new one.
  3. Add an URI reference to docx2dita-custom.xsl into your customization catalog, where docx2dita-custom.xsl is the name of your custom docx2dita transformation configuration file.
    <group xml:base="word2dita/xsl/">
      <uri name="cpnz:dita:custom:xsl:docx2dita.xsl" uri="docx2dita-custom.xsl" />
    </group>
  4. Add the catalog aspect to the catalog.xml file.
  5. Open your Word to DITA pipeline configuration in Alfresco.
  6. Add your customization catalog file to the list of catalogs.
Your custom docx2dita transformation configuration is added to the Word to DITA pipeline configuration. Changes will be applied every time you launch the Word to DITA output processing on a WordML (docx) document.