Extending and Sharing a Document Type (Framework)History | Edit
You can extend a predefined, built-in document type (such as DITA or DocBook) using the Document Type Association preferences page, make modifications to it, and then share the extension with your team.
Sharing the Extended Framework
There are several ways that you can share the extended framework with others:
- Copy it to their [OXYGEN_INSTALL_DIR]/frameworks directory.
- Create a custom_frameworks folder (anywhere on disk) and copy the extended framework into it. Then add the path to your custom_frameworks folder in the Additional frameworks directories list in the preferences page.
-
Distribute the extended framework along with a project by following these steps:
- On your local drive, create a directory (with full write access) that contains the project files and a custom_frameworks folder with your extended framework inside.
- Start Oxygen XML Editor, go to the Project view and create a project. Save it in the newly created directory.
- In the preferences page, select Project Options at the bottom of the page.
- In the Additional frameworks directories list, add an entry like this: ${pd}/custom_frameworks.
- Add other resources to your project (for example, you can have all your DITA content located inside the project folder).
- You can then share the new project directory with other users. For example, you can commit it to your version control system and have them update their working copy. When they open the customized project file in the Project view, the new framework becomes available in the list of Document Types.
-
Deploy the extended framework configuration as an add-on.
After your team members install the framework they can check the list of Document Types in the Document Type Association preferences page to see if the framework is present and if it appears before the bundled DITA framework (meaning that it has higher priority).