There is a way to customize/convert the markup added by the Insert OLink action by applying an additional stylesheet over the inserted element.
This is possible by creating a compound Author action (based on ExecuteMultipleActionsOperation
* first it executes the old 'Insert OLink' action that inserts the olink element;
* afterwards, it executes another action (based on XSLTOperation
) that executes an XSLT transformation to convert the previously inserted olink element to a link element with XLink attributes.
I have created a sample framework/document type that extends the Docbook 5 document type (document type extensions are supported starting with Oxygen version 16.1). This extension adds a new 'Insert OLink with XLink attributes' action that is available on toolbal near the 'Insert Olink' action.
To use this custom document type please download and unzip the Docbook extension archive
in the 'oxygen_install_dir/frameworks' folder.
Please let me know if this document type extension resolve your use case.