Save it externally in a separate framework folder in the
[OXYGEN_DIR]/frameworks directory.
Important: For
this approach to work, have the application installed to a folder with full write
access.
Please follow these steps:
- Go to [OXYGEN_DIR]/frameworks and create a directory for your
new framework (name it for example custom_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_DIR]/frameworks/docbook as an example.
- Create your custom document type and save it externally, in the
custom_framework directory.
- Configure the custom document type according to your needs, take special care to
make all file references relative to the
[OXYGEN_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_DIR]/frameworks/custom_framework/custom.framework
after the Preferences are saved.
- Then, to share the new framework directory with other users, have them copy it to
their [OXYGEN_DIR]/frameworks directory. The new document
type will be available in the list of Document Types when Oxygen XML Editor
starts.
Note: In case you have a frameworks directory stored on
your local drive, you can also go to the preferences page and add your frameworks
directory in the Additional frameworks directories
list.