24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Predefined Document Types | 147an <strong>XML</strong> catalog to map the URI's to local paths you have add the catalog to <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> . If theURI's can be resolved the referred content will be displayed in <strong>Author</strong> mode and in the transformation output.A content reference is inserted with the action Insert a DITA Content Reference available on the toolbar <strong>Author</strong>custom actions and on the menu DITA > Insert.•Figure 83: Insert Content Reference DialogIn the URL chooser you set the URL of the file from which you want to reuse content. Depending on the Targettype filter you will see a tree of elements which can be referred (which have ID's). For each element the <strong>XML</strong> contentis shown in the preview area. The Conref value is computed automatically for the selected tree element. Afterpressing OK an element with the same name as the target element and having the attribute conref with the valuespecified in the Conref value field will be inserted at caret position.According to the DITA 1.2 specification the conrefend attribute can be used to specify content reference ranges.This is a very useful feature when referencing multiple consecutive steps or list items. If you use multiple contiguoussibling selection the conrefend value will also be set to the value of the last selected ID path. <strong>Oxygen</strong> <strong>XML</strong><strong>Author</strong> <strong>plugin</strong> will present the entire referenced range as read-only content.Insert Content Key Reference - Inserts a content key reference at the caret position.As stated in the DITA 1.2 specification the conkeyref attribute provides a mechanism for reuse of content fragmentssimilar with the conref mechanism. Keys are defined at map level which can be referenced using conkeyref.The conkeyref attribute contains a key reference to another element and is processed to replace the referencingelement with the referenced element. The element containing the content key reference acts as a placeholder for thereferenced element. The identifier for the referenced element must be either absolute or resolvable in the context ofthe referencing element.<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> will display the key referred content of a DITA conkeyref if it can resolve it to avalid resource in the context of the current opened DITA map.A content key reference is inserted with the action Insert a DITA Content Key Reference available on the toolbar<strong>Author</strong> custom actions and on the menu DITA > Insert.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!