Save it externally in a separate framework folder in the
OXYGEN_INSTALL_DIR/frameworks directory.
Important: In order for this approach to work you will need to have Oxygen installed to a folder with full write access.
Please see the following steps:
- Create a new directory in the OXYGEN_INSTALL_DIR/frameworks for your new framework. This directory will contain resources for your framework (CSS files, new file templates, schemas used for validation, catalogs). See the Docbook framework structure from the OXYGEN_INSTALL_DIR/frameworks/docbook as an example.
- Switch the user role to Developer in the Oxygen Preferences Document Type Association page.
- Create your new custom document type and save it external in the newly created framework directory (with a name like custom.framework).
- Configure the custom document type according to your needs, take special care to make all file references relative to the OXYGEN_INSTALL_DIR/frameworks directory by using the ${frameworks} editor variable. The Author Developer Guide contains all details necessary for creating and configuring a new document type.
- If everything went fine then you should have a new configuration file saved in: OXYGEN_INSTALL_DIR/frameworks/your_framework_dir/custom.framework after the Preferences are saved.
- You can then share the new framework directory with other users (have them copy it to their OXYGEN_INSTALL_DIR/frameworks directory) and the new document type will be available in the list of Document Types when Oxygen is started.