Making Changes to an Existing Framework (Document Type)
It is possible to make minor changes to an existing framework (document type) configuration, instead of creating a new one.
<fig>
element:- If you do not already know the name of the framework, open a document from that framework, go to and select Properties. The name of the framework is listed in the Document Type entry.
- Open the Preferences dialog box and go to the Document Type Association preferences page, and locate your framework (for example, DITA - Extension).
-
If it is a built-in framework that has not already been extended/edited, it is recommended to use the Extend button to create an extension for it. If it has already been extended (for example, a document type with the name DITA - Extension has been extended), you can use the Edit button.
Step Result: This opens the Document Type Configuration dialog box where you can define the set of rules and settings for your custom framework.
- Configure the extension using the tabs on the bottom half of the
dialog box. For our example of making the Insert Image Author mode
action available inside the
<fig>element:- Go to the Author tab and then the Actions subtab.
- Locate the action named insert.image and edit it.
- Change the Activation XPath field to make
the action available in contexts where the
<fig>element is available:oxy:allows-child-element("", "class", " topic/image ") or oxy:allows-child-element("", "class", " topic/fig ")
-
Click OK to close the configuration dialog box and then OK or Apply to save your changes.