Sharing a Document Type (Framework)
Oxygen XML Editor plugin allows you to share customizations of a specific XML type by creating your own Document Type (framework) in the Document Type Association preferences page.
A document type (framework) can be shared with other authors by using the following method:
Save it in a Custom Folder
To share your customized framework with other members of your team, you can save it
to a
separate folder inside the [OXYGEN_INSTALL_DIR]/frameworks directory by following these steps:
Important
For
this approach to work, the application must be installed in a folder with full write
access.
- Go to
[OXYGEN_INSTALL_DIR]/frameworksand create a directory for your new framework (for example,custom_framework). This directory will contain the resources for your customized framework. See the DocBook framework structure from[OXYGEN_INSTALL_DIR]/frameworks/docbookas an example. - Create your custom document type (framework) and specify the
custom_frameworkdirectory for the External storage option. - Configure the custom document type according to your needs. Take special care to make
all file references relative to the
[OXYGEN_INSTALL_DIR]/frameworksdirectory by using the${frameworks}editor variable. See the Author Mode Customization section for more details on creating and configuring a new document type (framework). - Add any additional resources (CSS files, new file templates, schemas used for validation, catalogs, etc.) to the directory you created in step 1.
- After completing your customizations in the Document Type
Association preferences page, you
should have a new configuration file saved in:
[OXYGEN_INSTALL_DIR]/frameworks/custom_framework/custom.framework. - To share the new framework directory with other users, have them copy it to their
[OXYGEN_INSTALL_DIR]/frameworksdirectory. The new framework will be available in the list of Document Types when Oxygen XML Editor plugin starts.Note
If you have aframeworksdirectory stored on your local drive, you can also go to the preferences page and add yourframeworksdirectory in the Additional frameworks directories list.