Edit online

Customizing DITA Output of Generated XML Schema

To customize the DITA output of the generated XML Schema documentation, use the following procedure:
  1. Customize the [OXYGEN_INSTALL_DIR]/frameworks/schema_documentation/xsl/xsdDocDita.xsl stylesheet to incorporate your desired changes.
  2. Create an intermediary file that holds the content of your XML Schema documentation by following these steps:
    1. Go to Tools > Generate Documentation > XML Schema Documentation.
    2. Select Custom for the output format and click the Options button.
    3. In the Custom format options dialog box, do the following:
      1. Enter the customized stylesheet in the Custom XSL field ([OXYGEN_INSTALL_DIR]/frameworks/schema_documentation/xsl/xsdDocDita.xsl).
      2. Select the Copy additional resources to the output folder option and leave the default selection in the Resources field.
      3. Click OK.
    4. Make sure the Split output into multiple files option is selected and choose Split by component.
    5. When you return to the XML Schema Documentation dialog box, just click the Generate button to generate a DITA map file that contains the XML Schema documentation.