Creating a Reusable Content Component
Oxygen XML Editor makes it easy to create a reusable component from
existing topic content.
Note:
To ensure that the topic file that
contains the reusable component is a valid container for the reusable content component,
Oxygen XML Editor attempts to use the same schema information in the current topic
for the file that contains the reused component. If it cannot create a valid instance of
the reused content file with this approach, the application creates a specialized topic
type automatically. This specialization is designed to make sure that the content is
compatible with the topic type that it is created from. You can make changes to the
configuration file (OXYGEN_INSTALL_DIR\frameworks\dita\reuse\reuse_configuration.properties) or
override it from a framework extension to control if the created reusable component file
should be based on the currently edited topic or it should be an automatically created
DITA specialization topic.
Follow these steps to create a reusable component:
A file is created that contains one reusable component. You can
reference the reused content in other topics by using a content reference or content key reference.
Also, if the Replace selection with content reference option was
selected, Oxygen XML Editor replaces the selected content with a content reference that
will be displayed in your current topic with a gray background and it can only be edited in
the source file (the new reusable component). To edit the source file, click the
Edit
Content icon at the beginning of the content reference.