Professional Documents
Culture Documents
oXygen
WWW.IXIASOFT.COM / DITACMS v. 4.2 / Copyright 2016 IXIASOFT Technologies. All rights reserved.
Last revised: July 19, 2016
Table of contents 3
Table of contents
Preface: Introduction
Copyright notice 29
Technical support 29
Benefits of DITA 36
DITA components 37
List of icons 60
Reset connection 66
Show views 68
Documents view 70
Display Favorites 75
Refresh a view 82
Topic alert indicators in the DITA Map view and DITA Map Editor 145
Using the navtitle element with the locktitle and href attributes 165
Chapter 9: Topics
Open the Reltable Editing Perspective from the DITA Map view's menu 216
Open the Reltable Editing Perspective from the main menu bar 216
Table of contents 11
Copy ID 254
Create a cross-reference (xref) to a file or web site in the oXygen editor 296
Insert related links to files or web sites in the oXygen editor 299
Insert an image from a remote location into a topic in the Oxygen editor 301
Add keys to a map from preset list defined in the Content Store 390
Inserting a keyword or external link from keys defined in the map 391
Preparing data for use with the BIRT Report Designer 499
Auto-generated columns in the BIRT (and DITA CMS) data sets 503
BIRT example two: the DITA CMS data set definition 521
Open the Reltable Editing Perspective from the DITA Map view's
menu 530
Open the Reltable Editing Perspective from the main menu bar 530
Reltable example two: links are between cells – not within cells 551
Publish 562
Set default values for ditaval files, languages, and user parameters 576
Glossary
The union of DITA architecture and a CMS provides tremendous control and flexibility for managing
structured units of information. This evolution for technical documentation lets users:
• Work modularly
• Modify and track documents through a well-defined workflow
• Repurpose content for required markets and audiences
• Manage the localization process
• Deliver documentation in a variety of different formats
• Work in a collaborative environment
• Improve consistency in content structures
• Re-use content in multiple deliverables
Copyright notice
©2011-2016 IXIASOFT Technologies Inc. All rights reserved. Except as otherwise expressly
permitted by IXIASOFT Technologies Inc., this publication, or parts thereof, may not be reproduced
or distributed in any form, by any method, for any purpose.
This publication and the information contained herein are made available by IXIASOFT
Technologies Inc. "as is." IXIASOFT Technologies Inc. disclaims all warranties, either express
or implied, including but not limited to any implied warranties of merchantability or fitness for a
particular purpose regarding these materials.
Technical support
IXIASOFT customer support staff are available to answer your questions. We welcome your
comments.
You can reach us at:
30 DITA CMS User Guide for oXygen
IXIASOFT
825, Querbes
Suite 200
Montreal, Quebec H2V 3X1
Email support-DITA@ixiasoft.com
http://www.ixiasoft.com/en/products/dita-cms/documentation/4-2/
Document Description
DITA CMS User Guide Provides procedures and reference information for
technical writers and other documentation team
members who use the DITA CMS on a daily basis.
DITA CMS Administrator's Guide Provides procedures and reference information for
administrators responsible for configuring the DITA
CMS application and customizing it for the specific
workflow of their documentation teams. Intended for
CMS administrators.
Planning a DITA CMS Deployment Provides the information required to plan a DITA CMS
deployment. Intended for IT personnel and CMS
administrators.
Installing the DITA CMS Eclipse Client Describes how to package and deploy the DITA CMS
Eclipse Client on user workstations and in remote
access solutions. Intended for CMS administrators.
Introduction 31
Eclipse help
The DITA CMS User Guide is also available as Eclipse help. To display the documentation:
2. If you are using XMetaL as your XML Editor, click DITA CMS User Guide for XMetaL. If you
are using oXygen, click DITA CMS User Guide for oXygen.
The DITA CMS User Guide is expanded and the table of contents is displayed.
• Changes have been made to the Branch and Clone features. Branched objects will now
contain the same ID as their source objects. Clone objects must now contain unique IDs so
the option Use same ID has been removed form the Clone dialog box, see Clone a map,
topic, or image on page 183.
• Since the Visible checkbox on the Message dialog box had no effect, it has been removed
from the interface. Therefore, two topics related to that feature have been removed from the
Bulletin Board section, see Use the Bulletin Board on page 472.
• Small change in the .zip file when preparing a localization kit for sequential localization, see
Prepare the localization kit on page 598.
• You can now open a ditaval in a read-only mode in the XML editor area, see View a ditaval
file on page 353.
Build 4.2.38
• Added a new topic about how to log in to the DITA CMS Eclipse client with preconfigured
settings, see Log in to DITA CMS from Eclipse clients with preconfigured settings on
page 52.
• Added a topic for the Copy Element ID feature, which allows you to copy the ID of an element
from a topic in the Referable-Content view. For more information, see Copy the element ID
on page 255.
• Updated the instructions for inserting variables or external links into a topic from a map to
reflect the enhancements made to the Insert Variable dialog box. Variables are organized by
32 DITA CMS User Guide for oXygen
the map in which they are defined and they can also be filtered by name or value. See Inserting
a keyword or external link from keys defined in the map on page 391.
• In the Assignments dialog box, deactivated users no longer appear in the Assignee pane
unless they are still assigned to a document. for more information on assigning documents to
users, see Assign documents to users on page 304.
• The labels for DITA CMS > Label Configuration in the main menu, the Manage Label
Configuration button on the main toolbar, and the Manage Label Configuration dialog box
have all been changed to Configure Labels, see topics in Document labels on page 313.
Build 4.2.34
• Clarified the note about converting older ditaval files to valid format. See Edit the XML contents
of the Ditaval file on page 354.
• The Dependencies view can now be refreshed by clicking the Refresh button, see Refresh
a view on page 82.
• Added a new icon (broken link icon) to the List of icons on page 60.
• The Insert Variable dialog box now displays the current and default values of the keys. See
Inserting a keyword or external link from keys defined in the map on page 391.
• Removed topic "Configure conditional text attributes in the oXygen editor" since it is no longer
needed now that profiling attributes values for conditional processing are defined in a
configuration file.
• Variables now available in map templates, see Create a map on page 147.
• Added a note explaining that localized content must be in the Localized:done state to be output
with a Build Manifest. See Output a Build Manifest on page 580.
• The child intersection report has been fixed to display the authoring revision number of the
reported child objects instead of marking them with an "X", see Export children intersection
on page 200.
• Added a new topic describing a new menu option available in the DITA Map view to allow
users to insert keys from a preset list into their maps. See Add keys to a map from preset
list defined in the Content Store on page 390.
• Added a new topic describing two new menu options for inserting keys defined in a map into
a topic. See Inserting a keyword or external link from keys defined in the map on page
391.
Introduction 33
• The wizards used to import files as external documents in a read-only state have been removed
and replaced by a checkbox called Import As External in the standard import wizards, see
Import and export documents on page 399.
• By default, the Pin Content button is now always enabled in the Dependencies view. See
Enable update of the Dependencies view on page 260 for more information.
• Added a new topic: Export content from the DITA CMS on page 423.
• Added a note to the procedure View document assignments in the Todo List on page 310
indicating that the Todo List must be refreshed manually.
• Fixed spelling error in the originalRelativePath index name.
• Added a note indicating that drop points are valid until a new map is opened in the DITA Map
view. See Define a map drop point on page 162.
• Added a note indicating that the Validate Links command also checks links in reltables. See
Validate out-of-scope links on page 176.
• Updated the following procedures to indicate that a snapshot must be in the the Authoring:done
status before it can be published or branched:
• Documented passthrough and flag actions in Create a Ditaval file on page 348.
• Added new topic describing filter in the Ditaval view, see Filter the ditaval files in the
Ditaval view on page 356.
• Added the procedure to Reset text that was auto-translated on page 604.
• Added a use case for searching the Content Store: Search example: Searching for a specific
element on page 96.
• Reorganized and edited the following sections for clarity:
• Removed the procedure for synchronizing working documents since this feature is no longer
supported.
• You can now create and generate reports using the DITA CMS . See Creating and generating
reports on page 479.
• The following taxonomy features were added:
• When importing images, the DITA CMS now uses information from the source topic to set the
image description that is saved in the DITA CMS. See Setting the image description when
importing images on page 408.
• Multiple improvements were made to the document assignments:
• The Assignments dialog was updated to improve usability. See Assign documents to
users on page 304 and Set document due dates on page 306.
• Additional options were added to view your documents in the Todo list. See View document
assignments in the Todo List on page 310.
• You can add comments to DITA CMS assignments. See Add comments to DITA CMS
assignments on page 311.
• Autorefresh in map view - Selecting a map from the history list now automatically opens
the map in the DITA Map Editor.
• Partial synchronization is now always enabled - Partial synchronization is now always
enabled to improve the performance of the DITA CMS. As such, the synchronization page
has been removed from the DITA CMS preferences. Options that were on the synchronization
page were moved to other pages. For more information, see:
• Export search results - You can export search results and save them in a file outside the
repository in three different formats: Tab Separated Value (TSV), Extensible Markup
Language (XML), and Spreadsheet (XLS).
1 About DITA
About DITA
This set of topics introduces DITA and lists the DITA CMS
functionalities.
36 DITA CMS User Guide for oXygen
Document deliverables are controlled and managed by DITA maps. DITA maps are files that
collect and organize references to DITA topics to indicate relationships among the topics; they
basically make up your table of contents.
Benefits of DITA
Organizations are adopting DITA to improve productivity, content accuracy, content repurposing,
and ultimately reduce costs.
A documentation solution based on DITA has many advantages:
About DITA 37
• Increase productivity
• Reuse content
• Repurpose content
DITA components
Document deliverables include several types of documents.
The following types of documents are used to produce document deliverables.
• DITA Maps display the topic structure of the document deliverable like a table of contents.
Used with features such as conditions and conrefs, they provide you with a powerful way of
re-organizing topics into different types of deliverables.
• Images add a graphic dimension to document deliverables. Images are not added to maps
directly like topic files. They are referenced by the topics you want them to appear in.
• Topics are designed as stand-alone units of information that can be reused in different
document deliverables. They are organized into different types, which are defined by XML
templates. Each type is designed to present a specific kind of information. This provides
guidance to authors on how to organize content with consistency.
Concept The concept topic type is for topics that answer the question "what is?",
and sometimes "why?". Concepts often define functionality and/or the
purpose of a feature. They may also explain background information
necessary for understanding the context of use.
Task Tasks answer the question “how?”. They provide step-based instructions
that tell the user how to achieve a specific goal.
Topic This is a more generalized type of topic, which is not oriented towards
specific content.
Designed for use with Eclipse (an open-source development toolset), DITA CMS provides a
graphic representation of the file structure and full support of the document life cycle. This
extensible XML content management platform was designed with flexibility in mind to bring
customized solutions within easy reach of content developers.
At the heart of DITA CMS, TEXTML Server provides a robust document repository and advanced
searching capabilities. TEXTML Server’s core architecture and repository were designed to
support XML components natively, making it an ideal platform to manage DITA’s topic-oriented
structure.
• Workflow support
• Image support
• XML templates for standard topic types
• Ditaval support
• Localization management
• Output generation
40 DITA CMS User Guide for oXygen
2 Understanding the DITA CMS
document cycles
Cycles
Cycles establish the larger framework for document development. For example, organizations
typically set up an authoring cycle and may also set up a localization cycle that applies to maps,
documents, and images. In a typical document cycle, content may be created by an author,
approved by subject matter experts (SMEs), and then revised by the editor before being sent off
for translation.
States identify the status of documents or images at each point in the cycle. For example, the
review state for a document or image means that it has been submitted to SMEs for review. A
document's cycle and state, written together, define its status; for example, Authoring:review.
Moving from one status to another (i.e., status promotions and demotions) is done by the system
users. The figure below provides a graphic example of documentation cycles and the states
comprising them, which you can adapt as needed within your DITA CMS.
Understanding the DITA CMS document cycles 43
Related Links
Change status on page 187
Important: The cycles and states described here are those implemented at IXIASOFT
Technology. Yours are likely to vary in their specifics. Please contact your CMS
administrator for the specifics of your deployment.
Cycles
• Authoring—Each document type has its own distinct set of stages in the Authoring cycle.
States
Within each cycle there are several different states—such as work and review—that identify the
multiple actions performed on content at every level of development. Document states track
content within the different cycles.
Understanding the DITA CMS document cycles 45
Status
A document's cycle and state, written together, define its status, e.g., Authoring:review. The
document's status tracks its progress though the various cycles of the document life
cycle—Authoring, Localization, and Published—and offers further control over the process by
breaking each cycle into states.
When a topic or a map is created (or when an image is imported), it is assigned the status
Authoring:draft. From that point on, status promotions (and demotions) are done by the system
users. The files go out for review and are either accepted (and pass on into another cycle) or are
found incomplete and demoted for further clarification and development.
46 DITA CMS User Guide for oXygen
In the topic's portion of the Authoring cycle, topics may not be at a higher state than the topics
they reference, whether by xrefs, conrefs, or related links.
Topics are also constrained by the state of their referenced images. A topic cannot advance past
Approved until all its referenced images are Done.
Maps in the Authoring cycle have a slightly different set of constraints. They must stay in the
Draft state until all the topics they contain have reached Review. At that point a map may be
promoted to its own Review state. It must stay in Review until all its constituent topics are Done.
Only when all topics are Done can a map be promoted to Final review. And since topics may not
be considered Done until all their images have reached that state, this means that all of a map's
constituents—images as well as topics—must be in the Done state before the map may be
promoted to Final review.
In the Localization cycle, a map or topic may only move as high as the images or topics that it
contains. This means that you cannot promote a map to Review until after you have promoted
its topics to that state. In the same way, topics must wait until their referenced images reach
Review before they can be promoted to that state in their turn.
Understanding the DITA CMS document cycles 47
Document dependencies
To make sure that these dependencies are respected, the system performs some simple checks
when a user is changing a file's status and only offers the choices that make sense.
Image N/A
Note: Before you can publish or localize a map all its child documents must be Done,
including those referenced by conrefs or related-links.
User responsibilities
To illustrate the concept of roles, let’s say that an organization identifies three user roles with
regard to topics: Author, Reviewer, and Editor. In a typical project scenario, an Author writes
a topic and sends it to the Reviewer to be appraised. If the Reviewer requests changes, the topic
goes back to the Author to be reworked and may be yet again submitted to the Reviewer for
approval.The topic might then be passed to an Editor for proofreading and then finally re-submitted
to the Author for publication. Roles vary from organization to organization. Larger companies
typically have more roles and more stages in the documentation process, while in small companies
one person may fill several roles.
48 DITA CMS User Guide for oXygen
Timelines
Timelines correspond to the degree of involvement that a user role has at any given point in the
document life cycle, as shown in the table below. There are five main timeline states:
• Active: Tasks will be active for this user role at this point in the document cycle.
• Incoming: Tasks are pending for this user role at this point in the document cycle.
• Retained: Tasks will be passed back to this user once another user has finished them.
• Done: The user has completed the work on this document.
• Out of scope: The document is out of scope for this user role.
For example, when a writer is working on a document, the document is active for this user, but
incoming for reviewers and editors. When the writer hands over the document to a reviewer, the
document is retained for the writer (since there might be more work to be done by the writer on
this document after the review, so the writer retains a certain amount of responsibility), active for
the reviewer, and incoming for the editor.
Each time a document's timeline status changes, it triggers events in the system that keep users
alerted to document status as it affects their own role in the documentation process. For example,
the DITA CMS can be used to send an email notification to users any time a document becomes
Active for their particular role. Users can view the documents they have been assigned and their
timelines in the Todo List tab within the DITA CMS workspace.
Related Links
Assign documents to users on page 304
Set document due dates on page 306
Set document approval systems on page 308
View document assignments in the Todo List on page 310
3 Starting the DITA CMS
Topics: The procedures in this section tell you start the DITA CMS.
• Log in to DITA CMS
• Log in to DITA CMS from
Eclipse clients with
preconfigured settings
• Open an Eclipse
Perspective
50 DITA CMS User Guide for oXygen
Note: If you log in from another workstation, you will need to enter your login information.
You may also need to log in if someone else has logged in to your workstation in your
absence.
Important: If the DITA CMS was configured to launch the DITA CMS Eclipse clients with
preconfigured settings, follow the instructions in Log in to DITA CMS from Eclipse clients
with preconfigured settings on page 52 instead.
Related Links
Display or modify connection information on page 64
Reset connection on page 66
5. Click Apply.
6. Click OK.
with the DITA Perspective, you may want to take advantage of other specialized perspectives
such as Project Management and Report Design.
1. Open Eclipse.
2. Click Window > Open Perspective > Other... from the menu bar.
The Open Perspective dialog appears.
3. Select DITA.
4. Click OK.
Topics: This section describes the basic features of the DITA CMS
• Open the DITA perspective working environment.
• Icons and colors Eclipse contains several perspectives that define the layout
• List of icons for different uses of Eclipse. When you first open the DITA
• The DITA CMS toolbar
CMS, you'll see the DITA Perspective. The DITA Perspective
• Show or hide the
is the default working environment for the DITA CMS.
workspace toolbar
• Configure column display
in any DITA view
• Display or modify
connection information
• Reset connection
• About views and editors
• Show views
• Other useful views
• Documents view
• Associate file extensions
with applications
• Working with views and
editors
• Other DITA CMS
perspectives
• Synchronize configuration
files
58 DITA CMS User Guide for oXygen
Note: You can open additional perspectives from the Perspective Shortcut Bar (see
figure).
Note:
The DITA CMS working environment 59
You can arrange the DITA Perspective to whatever layout works best for you. Toolbars
at the top of the workspace give you single-click access to many editing and file handling
functions. Changes you make to the DITA Perspective are saved when you log out.
Related Links
List of icons on page 60
60 DITA CMS User Guide for oXygen
List of icons
The following table provides the complete list of all the document icons that appear in the DITA
CMS.
DITA Map icon with drop point. Identifies a drop point at map-level.
Topic icon.
Resource icon.
Image icon.
Broken link icon. Identifies a link to an object that cannot be found in the
DITA CMS or an object whose type cannot be determined.
Snapshot icon.
Alert indicator. Appears in the DITA Map view and DITA Map Editor.
• In the Status column - identifies documents that prevent the map's
status from moving forward.
• In the Last Mod Date column - identifies documents that have been
worked on since the map reached the final state of the Authoring cycle.
Unresolved keyref. Appears in the DITA Map view and DITA Map Editor.
Keyref resolved with an href. Appears in the DITA Map view and DITA
Map Editor.
Keyref resolved with a keyref. Appears in the DITA Map view and DITA
Map Editor.
Keyref resolved with a null link. Appears in the DITA Map view and DITA
Map Editor.
Related Links
Icons and colors on page 59
The second section of the toolbar gives you way of quickly performing many useful actions on
the current document in the editor area (the topic or DITA Map Editor that's in front and has
focus).
General functions
Clean all views. Resets all views to their original default state, without
rearranging their position in the DITA Perspective.
62 DITA CMS User Guide for oXygen
Document-specific functions
The functions in this section act on the current document in the editor area – the one that's on
top and has focus.
Show Preview. Opens the Preview view, displaying the current topic.
Select in Map. If the current topic or image is referenced by the map that's
open in the DITA Map view, this button will produce a highlight on it.
Lock. Locks the current topic.
View Dependencies. Lets you view the dependencies of the current topic.
Assign to.... Lets you assign the current topic to users, and adjust settings
such as its due date.
Properties. Lets you view system information about the current topic.
Compare With. Opens a drop-down that lets you compare the current topic
with other versions of it in the repository: Compare to Latest Server Revision,
for example.
The DITA CMS working environment 63
Change Status. Lets you change the status of the current topic.
Generate Output. Lets you generate output from the current topic.
Revision History. Lets you view the current topic's revision history.
Add To Favorites. Adds the current topic to the Favorites panel in the
Documents view.
Open With. Opens a drop-down that lets you open the current topic with one
of the other configured editors.
The toolbar across the top of the Eclipse workspace is composed of various function-specific
toolbars. The DITA CMS toolbar, for example, contains buttons that let you synchronize your
documents with the server, and view and reset your connection.
The exact set of toolbars that appears depends on how your workspace is configured, the XML
editor you are using, and the perspective in which you are working.
2. Select the columns to display and clear those you don't want to see.
The selected columns appear in the view.
3. Drag the columns into your preferred viewing order.
(Red icon) You are not logged in to the server. You will not be able to search,
lock, or edit documents.
The DITA CMS working environment 65
2. To reset the connection, or connect to another server and Content Store, click the
Connection Information button.
The CMS Configuration window appears.
When your connection is complete, the Connection Information button changes to green ( )
and a confirmation window appears.
Your connection information is saved for the next time you log in.
Related Links
Log in to DITA CMS on page 50
Reset connection
Use this procedure to connect to another Content Store or another server, or as another user.
You need access rights and a password on the server/Content Store you want to connect
to.
This procedure is useful if you have access to more than one server or Content Store, or if you
have more than one user account with different sets of privileges.
Your access information is saved for the next time you login.
Related Links
Log in to DITA CMS on page 50
The DITA CMS working environment 67
About editors
By default, the center of the DITA Perspective is used for the editor area. When you open XML
files for editing, this is where they appear. You may also be able to have several different files
open in different editors at the same time in the editor area, if your workstation is set up for this.
In addition, when files are in review states, you can open them in the editor area using the
Collaborative Reviewer. This feature displays a PDF preview of a file under review and provides
tools for making annotations in it.
Other editors that are supplied with the DITA CMS include:
• DITA Map Editor - displays an outline view of the document deliverable similar to the DITA
Map view, but without the tag editing features. You can have several DITA Map Editors open
in the pane where your XML editors appear.
• Read-only Editor - displays the selected topic's text and XML tags in read-only mode. This
lets you look at a topic without the risk of inadvertent modifications.
About views
Some views, such as the DITA Map view, show the document deliverable's overall structure.
Others allow you to preview the topic you're working on, or view its properties.
The views include:
• Todo List - displays files that are assigned to the current user, along with their current status
and position on the user's timeline.
• Annotations - displays reviewers' markup and comments. This view appears when the
Collaborative Reviewer is open.
• Votes - lets reviewers vote on documents, and authors view the vote results. This view appears
when the Collaborative Reviewer is open.
• Project Management view - displays information about multi-deliverable projects in a collapsible
tree view.
• Dependencies view – lets you see the documents that a given document references and that
it, in turn, refers to. This gives you a quick way, for example, to see the maps that a specific
topic is in; or the topics that reference a given image.
• Ditaval view – lets you save the sets of output parameters that you use most frequently, and
then apply them as you generate the various types of output.
Show views
Show views lets you open or redisplay views that are closed.
You can close and open views as you require. The following is not a comprehensive list of DITA
CMS views.
Bulletin Board Displays messages that have been added to a document Project
map's Bulletin Board. Management
Images Displays the images used in the map. You can use this Offline
view to copy the reference, ID, or full path of an image.
Project Displays a summary of the projects for the current user. Project
Management Management
Taxonomy Terms Lets you manage taxonomies in a map and the DITA
documents that contain their terms.
Todo List Displays the user's list of Active document objects. DITA
Related Links
Project management on page 441
Project Management view on page 442
Preview a topic on page 206
Preview an image on page 281
Preview a map on page 156
• Outline view - displays structured files in a hierarchical format. If you are using an editor that
supports this view, you'll be able to see the structure of the XML file that's currently open in
your editor.
• Properties view - shows the properties of a map or topic in the DITA Map view.
• Error log view - displays information that may help you resolve technical problems (for example,
if you have modified a DTD).
Documents view
This view gives you several document tracking functionalities, such as identifying recently used
documents or frequently used documents.
It also provides you with a means of revisiting these documents without having to search for
them.
The Documents view contains the following panels, which you can open or close as you need:
• Favorites – you can add the documents you work with most often to this view, and group them
into appropriate categories.
• Recent Documents – shows you the documents you've recently worked with. You can remove
any or all the documents from this list, as you wish.
• Recent Operations – shows you the actions you've recently performed on documents.
The Documents view may not be visible when you first open the DITA Perspective. In this case
you'll need to open it from the Windows menu.
The DITA CMS working environment 71
Related Links
Restore a document object on page 190
Note: To display the document objects in the Recent Operations list, click the various
folder icons.
4. To add a listed document to your Favorites list, drag it up to the Favorites panel.
5. To filter for a particular document, click in the field at the bottom of the Documents
view and enter a key word from the document's title.
The Favorites, Recent Documents, and Recent Operations lists are filtered to display
documents that contain the specified string.
Note: To clear either list, right-click in the list and select Clear all Recent Documents
or Clear Selected Recent Operations, as appropriate.
The DITA CMS working environment 73
Filtering is performed on the first column of the display. By default, this is the Title of the document,
but it may be configured otherwise.
• In the Filter field of the Recent Operations view, type in characters that you think will
help limit the display.
The application searches the contents of the element specified in the first column and displays
the documents that match.
The following screenshot shows the documents you might see displayed when the string "ca"
is entered.
Folders (actions) that contain matching documents are expanded; folders that have no
matching documents are collapsed.
74 DITA CMS User Guide for oXygen
1. In the Recent Documents panel, right-click and select one of the following:
Tip: If the document you wish to add is one you worked on recently, no need to search
to locate it—simply expand the Recent Documents panel and drag it to Favorites.
Note: To favorite a document object when Favorites is not displayed, right-click the
document object and select Add to Favorites.
Display Favorites
You can display documents that you have previously marked as favorites.
To open the Favorites panel:
76 DITA CMS User Guide for oXygen
• To rename a folder, right-click the folder and select Rename Category. Enter a new
name and click OK
The DITA CMS working environment 77
• To remove a document from the list, right-click the document and select Remove from
Favorites. Click OK to confirm.
1. In the Favorites panel, select the documents or categories you want to remove.
2. Right-click and select Remove from Favorites.
3. If the file extension does not appear in the File types list, click the Add button next to
the File types list.
The Add File Type dialog box appears:
4. Beside File type, enter the appropriate file extension, preceded by an asterisk.
5. Click OK.
The new file type appears selected in the File types list.
6. Click the Add button next to the Associated editors list.
The Editor Selection window appears:
The DITA CMS working environment 79
• To display programs integrated with the Eclipse IDE, such as the browser, select Internal
Editors.
• To display programs available through your system, select External Programs.
8. Select your preferred editor for the selected file format, then click OK.
Your editor appears in the Associated editors list.
9. With the editor selected, click Default to make it your editor of choice.
10. Repeat from Step 3 to set up additional file-editor associations if desired.
11. When all desired associations have been set up, click OK.
The next time you open a file in Eclipse with one of the configured extensions, the selected
editor will be used. If you have more than one editor associated with a given file type, they
will appear as options when you right-click these files and select Open with.
80 DITA CMS User Guide for oXygen
You can click a view’s title bar and drag it on top of any other view. Or you can drag a view out
of the Workbench altogether so that it floats in front of the DITA Perspective.
Editors, on the other hand, can only appear in the editor area, which is in the center of the DITA
Perspective by default.
Like views, the files that are open for editing can be stacked one on top of the other. However,
if you are using more than one editor – Notepad and Oxygen, for example – you have the option
of tiling them in the editor area. See Eclipse help for details.
Views and editors have Maximize, Minimize, and Restore controls at the top to give you more
layout options.
When you minimize a view, it collapses into the trim at the side of the Workbench window along
with all the other views in that particular pane. You can see the icons for each of the minimized
views displayed in the Trim Stack (see the picture in Maximize, minimize, or restore a view on
page 81).
Likewise, when you minimize one editor, all other editors that are currently open will be minimized
as well. The editor area’s Trim Stack, however, only displays a single icon that represents the
contents of the editor area.
You can restore a single view by clicking its icon in a Trim Stack, or you can restore an entire
stack of views by clicking a Trim Stack’s Restore icon.
The DITA CMS working environment 81
You can see an example of Trim Stacks containing minimized views in Maximize,
minimize, or restore a view on page 81.
You can see an example of Trim Stacks containing minimized views in Maximize,
minimize, or restore a view on page 81.
Refresh a view
Refresh keeps you up to date with changes by you and by other users.
Note: Some changes, such as changing a topic title, are not displayed until the file is
released.
To refresh a view:
• In the DITA Map view - double-click the title of the map or click the Refresh button.
The DITA CMS working environment 83
• In the Todo List, Preview, Project Management, and Dependencies views - click the
blue Refresh button.
Note: You can also refresh the Preview by pressing CTRL+F5.
1. On the Global Actions toolbar, click the Clean All Views button
If any of your open documents have not been saved, you will get a window prompting you to
save them:
Perspective Description
Information Architect A set of views for the person responsible for the overall structure
of the document deliverable. This perspective includes the
Todo List, Search Results, and DITA Map view.
Offline A set of views for anybody who has a copy of DITA CMS on
their local PC and who wants to continue working when they
disconnect from the Content Store.
Project Management This set of views for project managers includes the Search,
Search Results, Recent Operations, and Project
Management views.
RelTable Editing This set of views for creating and working with relationship
tables includes the DITA Map, Properties, as well as the
Relationship Table Editor and Relationship Outline views.
SME This set of views, designed for the people who review topic
content, comprises the editor workspace and the Todo List.
TEXTML Administration A set of views for CMS administrators. For details on this
perspective, see the DITA CMS Administrator's Guide.
The editor area is common to all these perspectives. If you have a document open in one
perspective, it will stay open when you switch to another perspective.
All perspectives can be customized as needed, and you can designate any of them as the default
for Eclipse.
For in-depth information on perspectives, see the topic "Working with perspectives" in the Eclipse
help.
Related Links
Open an Eclipse Perspective on page 54
The DITA CMS working environment 85
Each time a DITA CMS user connects to a server and a Content Store, their individual configuration
files are synchronized with the master configuration files located in the Content Store's repository.
However, if an administrator makes changes to the DITA CMS configuration while users are
connected to the Content Store, users who want to work with the most up-to-date settings must
synchronize their configuration manually.
Tip: You can also synchronize by clicking the toolbar Synchronize Configuration
Topics: DITA CMS provides features that let you search the repository
• Search view enhancements for documents and then search and replace text within these
• Search for documents documents.
• Advanced Search features Some of the DITA CMS search features include:
• Date search features
• Search for documents that • Perform complex (full-text and metadata) searches on the
contain taxonomy terms Content Store and then organize and export these results.
• Search the XML content of For example, you can search for documents in all cycles
a map of the development process: Authoring, Localization, and
• Search within a sub-tree Published. You can also search for documents localized
• Search and replace the XML in a particular language and limit your search to documents
content of a map
locked by yourself or others.
• Apply XSL transformations
to one or more topics • Search within a specific map or sub-tree within a map.
• Select the current topic in • Search and replace the text within selected sets of
a map documents using regular expressions.
• Standard search operators • Re-run recent searches from the search history.
and wildcards
• Save frequently used sets of search parameters.
• Search Results view
operations
• Isolate appended search
results
• Locate errors
• Configure search
• Working with queries
88 DITA CMS User Guide for oXygen
For example, you can search the objects that are in the Authoring:work status directly from
the Cycles panel, without having to use the Advanced Search panel.
As shown in the diagram below, the items in the Cycles and Document Types panels have
submenus:
To search a specific state for a cycle, you use the drop-down arrow directly in the Cycles panel
instead of having to specify the state index in the Advanced Search panel.
You can also search an index, attribute, or element by specifying it directly in the Search for
panel with the Search in drop-down list:
By default, the DITA CMS searches the whole document for the string specified (i.e., the fulltext
option is selected, as shown above). You can specify any index, attribute, or element directly in
this panel instead of using the Advanced Search panel.
Note: The Advanced Search panel is still useful to construct complex searches using
many different criteria.
Function Button
The Search Results view lists the documents returned by your search criteria. You can group
and filter the results.
By default, a maximum of 100 results can be displayed at one time. Search defaults are
configurable.
Note: Search is performed on the last version released to the server.
To search the Content Store:
By default, all the states in the cycle selected will be searched. For example, if you select
Authoring and click the drop-down arrow to the right of Authoring, a menu similar to the
following is displayed:
This menu displays all the states that are defined for your deployment.
4. To specify a different list of states, check and uncheck the states as required.
A check sign ( ) in the check box indicates that all the states in the cycle are selected; a
shaded check box ( ) indicates that only some of the states are selected. Click the drop-down
arrow to see the selections.
Note: If you see the message "selected items are different from default items" at the
top of a panel, this means that the selections you have made are different from the
By default, all the subtypes for the document type selected will be searched. For example, if
you select Maps and click the drop-down arrow to the right of Maps, a menu similar to the
following is displayed:
This menu displays all the map types that are defined for your deployment.
6. To specify a different list of subtypes, check and uncheck the subtypes as required.
7. In the Search for panel, enter a search string, such as the title of the document object.
Tip: You can use wildcards to refine your search; click the button for a list of
operators and their descriptions.
By default, the DITA CMS searches the whole document for the string specified (i.e., the
fulltext option is selected).You can search a specific element, index, or attribute by changing
the value in Search in.
8. To search a specific section of the objects (for example, the title element), select the
element from the Search in list.
To search the whole document, select the fulltext option.
9. (Optional) In the Limit to panel, select additional search criteria:
b) To find documents assigned to a specific user, select Assigned to and then select
the name of the user in the drop-down list. You can also enter text directly in the
Assigned to field to search for a specific user name.
c) To find documents assigned to a specific role, select Role and then select the role
in the drop-down list.
d) To search for document objects within the active map context, select Dita Map
view.
This will also return the active map in the Search Results.
e) To search for document objects belonging to a specific project, select Project and
choose a project.
Note: The list displays only projects to which you belong.
f) To search for document objects that were last modified by a specific user, select
Last Modified By and select a user name.
g) To search for branched documents, select Branch and then select the branch tag
from the drop-down list.
h) To search documents that are not referenced by any other document in the
repository, select Orphans.
10. In the Languages panel, select at least one language of the documents to be searched.
Figure 25: Languages panel
11. To append the search results to an existing search results list, select Append to current
results.
94 DITA CMS User Guide for oXygen
Note: Search criteria stay in effect when a panel is collapsed. If you previously performed
an elaborate search, click in each panel of the Search window to restore the default
settings before you search again.
This topic describes the most common panels in the Search view. For more information on the
Dates, Advanced Search, Taxonomy Terms, and Queries panel, see the documentation for
these panels.
Related Links
Filter the ditaval files in the Ditaval view on page 356
Standard search operators and wildcards on page 118
Date search features on page 107
Advanced Search features on page 96
Standard search operators and wildcards on page 118
Documents matching your search criteria are displayed in the Search Results view.
At the end of the previous example, the Cycles and Document Types panels looked like the image
below.
1. In the Search for panel, select note from the Search in drop-down list.
96 DITA CMS User Guide for oXygen
All the refererable-content documents in the Authoring cycle that contain a note are displayed in
the Search Results view.
• Search for panel: leave text box empty, select draft-comment in Search in drop-down
Note: If the element you want to search for is not in the list, it has not been indexed
for searching. Content your DITA CMS system administrator.
3. Click Search.
You enter one search criterion per line. You can enter as many criteria as required to make a
truly detailed search of the CMS repository.
The first column specifies a search operator. You can specify three operators:
The first row always starts with the and operator. This serves as a reminder that the results of
the Advanced Search panel will be aggregated with the results of the other search panels, using
the and operator.
Use the line management buttons ( ) to add, remove, and organize your criteria.
The Advanced Search rows are executed from the top down.
The selections that appear when you construct your search criteria differ according to your choice
of Type. You can specify four types of advanced searches:
The following sections show the various criteria Types that are available and the Names and
Values that may be used with them. For detailed examples, see the Advanced Search examples
in this document.
98 DITA CMS User Guide for oXygen
Elements
Lets you search within a specific XML element. Select the element Name and then enter the
Value of the expression you are looking for.
For example, you could search with the values shown below.
This search returns files where the string "Publish" is part of any title in the document. This would
include, for example, topics having sections titled "Publishing Output" and tables with the title
"Published books". The asterisk character is a wildcard that replaces one or more characters.
Attributes
Lets you search for XML elements having specific attribute values.
For example, you could search with the values shown below.
This search would return image files where the alt attribute contains words that begin with the
string "map". This would, for example, include "topics and maps" or "mapping data". The alt
attribute is the text that displays if for some reason the image cannot be loaded.
Index
Lets you search according to other useful indexed criteria.
For example, if you are looking for all the places that a specific document is referenced, you
could enter the following values.
This search returns a list of all the files that contain the ID "mal1159463936986".
DITA CMS Search 99
• title - lets you search for files using the topic title as it appears in the Search Results view.
For example, you might set up your search with the following values.
This search returns all files having the string "map" somewhere in the title. This list might
include a topic called "set map variables", an image called "DITA topics and maps", and a map
called "test_map".
• image description - lets you search for any of the information contained in the image
description.
For example if you are looking for all the descriptions that contain the word "status", you could
enter the following values.
This search returns all the images whose descriptions contain the word "status".
This search returns all topics of the type task. You could combine this with the string "image*"
if you wanted to narrow your search to all tasks that contained words starting with "image".
• status - lets you search for all files having the specified status.
If you select the Localization cycle, this search returns all files with the status Localization:in
translation.
• state - lets you search for all files in the specified state.
For example you could search for the following values in the Authoring cycle.
This search returns all topics in the Authoring cycle whose state is done.
• version - lets you search the Published or Localization cycles for all files having the specified
version.
This search returns all files that contain a word that begins with the string "alpha" in their
version field. This would include versions such as "alpha1" or "alpha_1_b" or " Ixiasoft alpha".
• locale - lets you search the Localization cycle for all files of the specified locale.
This search returns all the files that are being localized in Danish.
• created by - lets you search for all files created by the specified user.
For example, if you wanted to search for all files created by a user called SmithJ@ixiasoft.com,
you'd set the search field as follows.
• modified by - lets you search for all files modified by the specified user.
DITA CMS Search 101
For example, if you wanted to search for all files last modified by a user called
SmithJ@ixiasoft.com, you'd set the search field as follows.
• label - lets you search for all files that have a particular label.
For example, if you are looking for all the files whose labels contain the word "obsolete", you
could enter the following values.
This search would return files with labels such as "obsoleted in 2009" and "provisionally
obsolete".
• contains elements - lets you search for all files that contain the selected element.
For example, if you wanted to find all the files that contained images, you could search as
shown below.
Related Links
Date search features on page 107
Search for documents on page 89
Create search results groupings on page 123
Search within search results on page 126
Apply groupings to search results on page 125
Search for documents on page 89
102 DITA CMS User Guide for oXygen
1. X
2. and Y
3. or Z
The search algorithm first executes the first two lines (X and Y). It then uses this result and applies
it to the third line ((X and Y) or Z)). The results of this search will then be aggregated to the results
of the other search panels, using the and operator.
For example, consider the case where you want to retrieve all the referable-content topics in
authoring that were used in versions 1.12 or 1.13 of the documentation. To perform this search,
you would enter following Advanced Search criteria:
1. version=1.12
2. or version=1.13
3. and topic-type=referable-content
The Advanced Search will first retrieve all the topics that are in version 1.12 or version 1.13 and
will then retrieve from this list all the referable-content topics. Entering the criteria in a different
order would not return the desired search.
You have the same choice of Fixed and Relative dates if you choose to search within other time
frames: Before a given Date, Since a Date, and Between two Dates. If you choose Between two
Dates, you can apply any of the date search criteria to each endpoint.
The following example shows the values that would let you search for documents modified on
or after May 21st 2009 but before Yesterday.
This calendar offers the familiar features of the calendar in your computer. It also lets you quickly
navigate between months, years, and even decades by clicking its hypertext links.
Related Links
Search for documents on page 89
Create search results groupings on page 123
Search within search results on page 126
Apply groupings to search results on page 125
Advanced Search features on page 96
Standard search operators and wildcards on page 118
Search for documents on page 89
• any of the terms: Documents that contain at least one of the specified taxonomy terms
are returned in the Search Results.
• all of the terms: Only document that contain all of the specified taxonomy terms are
returned in the Search Results.
• Case sensitive to find only text that matches the case in your search string.
• Whole word to find only whole words that match the search string. (If this is selected, a
search for "cat" would ignore the word "caterpillar".)
• Regular expression if your search uses a codified pattern to represent multiple characters.
If this option is not selected, the [ ] characters, if used, will be interpreted as wildcards.
DITA CMS Search 111
8. If you are targeting selected documents (Step 3), under Applies to, click Selection.
By default, the All option is selected under Applies to.
9. Click Search
The documents that match your search criteria are returned in the Search view:
Related Links
Standard search operators and wildcards on page 118
Unlike Advanced Search, you won't need to enter topic IDs or author names to search for them.
Instead, the Search within a sub-tree procedure offers you lists of information extracted from the
current map.
Note: The map must be open in either the DITA Map view or the DITA Map Editor.
The topics that fulfill your search criteria are highlighted within the current sub-tree.
Related Links
Map sub-trees on page 146
Documents must be locked for the replace operation to succeed. You can lock the documents
before beginning or allow the DITA CMS to lock them for you during the process.
Caution: This feature is capable of altering the XML code in your documents and could
make your documents invalid.
• Case Sensitive to find only text that matches the case in your search string.
• Whole Word to find only whole words that match the search string. (If this is selected, a
search for "cat" would ignore the word "caterpillar".)
• Regular expression if your search uses a codified pattern to represent multiple characters.
If this option is not selected, the [ ] characters, if used, will be interpreted as wildcards.
8. If you are targeting selected documents (Step 3), under Applies to, click Selection.
By default, the All option is selected under Applies to.
9. Click Replace.
114 DITA CMS User Guide for oXygen
Note: If any of the target documents are unlocked, the Unlocked Documents
confirmation window appears. Click Yes to continue with the replace operation.
10. Enter your replacement text in the With field or select it from the drop-down list.
The Regular expression checkbox will be selected if you chose this option for your search.
11. (Optional) To review the changes you're about to make, click Preview.
Note: You can also apply changes globally without previewing them by clicking OK.
However, this option is not recommended unless you are absolutely certain that the
changes will not negatively affect your XML tags and/or change text you don't want
changed.
The Replace Text Matches dialog box appears:
DITA CMS Search 115
12. Under Changes to be performed, select the first change in the list.
The search string is highlighted under Original Source, and the replacement string is
highlighted under Refactored Source.
13. Do one of the following:
• If the change is acceptable, do nothing and repeat from Step 12 for the next document
in the list.
• If the change is not what you wanted, under Changes to be performed, clear the
checkbox for that particular replacement.
Related Links
Standard search operators and wildcards on page 118
116 DITA CMS User Guide for oXygen
You must have created an XSL file for the XSLT you wish to apply.
XML stylesheet language transformations (XSLTs) use XML language to transform XML documents
into HTML or some other format. XSLTs are carried out through XML stylesheet language (XSL)
templates. Normally XSLTs are applied by the Output Generator when a map is generated.
However, users can also choose to apply XSLTs to one or more specific topics on the fly, as
described below. For example, a user might select a set of topics and transform them into HTML
to add them to a PowerPoint presentation.
8. Click Open.
The XSL document name and path are added to the Apply XSLT window. If there are any
variable parameters defined in the XSL, they will appear in the Name column of the
Parameters list.
9. Under Parameters, enter the required Value for defined parameters (if any).
Parameter values will be written into the XSL and applied during the transformation.
10. Click Apply.
118 DITA CMS User Guide for oXygen
This feature is useful when you have a topic open in your editor, and you want to find where (or
if) it's located in a map.
Note: You can also use this feature to find images or resources that are referenced directly
by the map.This is useful if you are using the DRM module or for images used in <keydef>
maps.
The topic must be open and selected (have focus) in the editor area for this to work.
• From most views (Search Result, Dependencies, Documents, etc.), right-click the object
and select Select in map.
The object is highlighted in the map. If necessary, the appropriate map sub-trees expand
to show the location.
Search operators
Note: These operators cannot be used in the Search and Replace feature.
DITA CMS Search 119
Wildcards
Note: The [ ] wildcard cannot be used in the Search and Replace feature.
Related Links
Search for documents on page 89
Filter the ditaval files in the Ditaval view on page 356
Date search features on page 107
Search for documents on page 89
Create search results groupings on page 123
Search within search results on page 126
Apply groupings to search results on page 125
Search and replace the XML content of a map on page 112
Search the XML content of a map on page 110
Search within search results on page 126
DITA CMS Search 121
Operation
Locate search This feature is particularly useful with large and complex maps.
results topics in
a map. Steps Results
Clear Search This procedure is useful if you are appending search results and want to clear
Results view. the Search Results view.
Steps Results
Click the Clear Results All values are cleared from the Search Results
button: view.
Filter search This procedure limits the number of documents displayed in the Search Results
results. view. Filtering is performed on the first column of the display. By default, this
is the Title of the document, but it may be configured otherwise.
122 DITA CMS User Guide for oXygen
Operation
Steps Results
In the filter field, enter all DITA CMS displays the documents whose titles
or part of the document match the search string. The screen shot below
title. shows the documents displayed for a string "col":
Export search You can export search results and save them in a file outside the repository
results. in three different formats: Tab Separated Value (TSV), Extensible Markup
Language (XML), and Spreadsheet (XLS) file. These formats can be imported
into other programs such as spreadsheet etc.
Steps Results
2. Confirm or change
the proposed file
name and location.
3. Click Save.
Show only the If you have developed a large body of published and localized documents,
most recent you may find it useful to exclude earlier versions from your search results.
documents in
the Localization Steps Results
or Published
cycles.
DITA CMS Search 123
Operation
1. Click the Search The results are filtered so that only the more recent
Results view’s Menu documents are listed.
button.
Jump to a If your search returned many results, you can jump to a specific page in the
specific page in search results.
the search
results. Steps Results
Enter the page number The results for this page are displayed.
in the page field at the
bottom of the Search
Results view,
To create groupings:
6. From the Available criteria pane, select a parameter, then click Add.
Your selection moves into the right-hand pane.
7. To create sub-folders that will further group the results, repeat Step 6.
8. Click OK.
Your new grouping is now available in the Search Results view's Select Grouping list.
The search results are organized into folders according to the grouping selected. In the
example below, results of a topics search with Limit to: Orphans were grouped by version.
The No value folder contains documents for which the selected criteria—Version in this
example—were not defined.
126 DITA CMS User Guide for oXygen
3. In the Search Results view, click the Search and Replace button:
The Search and Replace dialog box appears:
DITA CMS Search 127
• Case sensitive to find only text that matches the case in your search string.
• Whole word to find only whole words that match the search string. (If this is selected, a
search for "cat" would ignore the word "caterpillar".)
• Regular expression if your search uses a codified pattern to represent multiple characters.
If this option is not selected, the [ ] characters, if used, will be interpreted as wildcards.
6. Click Search
Note: If search results are provided over many pages, the following message is
displayed:
To search all the results, click All pages. To search the current page only, click This page
only.
128 DITA CMS User Guide for oXygen
The documents that match your search criteria are returned in the Search view:
Related Links
Date search features on page 107
Advanced Search features on page 96
Standard search operators and wildcards on page 118
Standard search operators and wildcards on page 118
While the appended results are organized in separate lists, the Search Results functions available
apply to all the results in the window. For example, if you want to group the search results in the
diagram above, the results from the previous search and from the Locator search are combined
before they are grouped.
You may want to work with the results of only one of the searches. This can be very useful, for
example, when using the Change Status function. If you try to change the status of a map, but
some of its children do not have the appropriate status, a dialog similar to the following is displayed:
To be able to easily change the status of the children before you change the status of the map,
you may want to group the results by status. To work with the Locator results only, you need to
first isolate them.
1. In the Search Results window that contains the appended search results, select the
title of the search and right-click Isolate Results.
The Search Results window now only displays the results of the search selected.
130 DITA CMS User Guide for oXygen
Note: If you isolate the Locator results, all the results are displayed on a single page,
so if you have many search results (for example, 200 and more), loading the page
may take a while.
If you isolate the Search results, they are displayed over multiple pages.
2. Apply any of the Search Results window functions on the isolated results.
Locate errors
Buttons in many of the warning dialog boxes let you locate the documents that caused the error.
For example, the image below shows what might happen if you attempted to delete a topic that
was referenced by related links in other topics. The error dialog displays the topic IDs and a short
explanation.
• Click Save to save the information in a .TSV file, which you can import into a spreadsheet
application.
• Click Locate to open the Search Results view, which display the responsible files as an
appended search under the title Locator.
Note: Neither of these options closes the dialog. You can do both before you
leave
Previous search results are preserved in a separate item.
DITA CMS Search 131
Configure search
You can set defaults for the different panels of the Search view and specify how the panels are
displayed.
• In the panel whose default you want to set, click the Set as Defaults button.
All the current selections are saved as the default for that panel of the Search view.
Note: If you see the message "selected items are different from default items" at the top
of a panel, this means that the selections you have made are different from the selections
You must have previously configured your default search options for each panel in the Search
view. If you did not configure Search defaults, the system default settings will be applied.
To restore the search defaults for Search view panels individually or for all panels at once:
• To restore defaults for a particular panel, expand the panel and click the Restore Defaults
button ( ).
• To restore defaults for all panels, click the New Query button ( ).
4. Select the panels that you wish to hide or clear those you wish to view.
The view is refreshed with your changes.
5. (Optional) To re-arrange the panels displayed, click the Show/hide panels button.
6. Select Enable drag and drop.
7. Drag the various panels to place them in your preferred sequence.
Your settings are saved and will be available for subsequent DITA CMS sessions.
8. Click the Show/hide panels button and clear the Enable drag and drop option.
Create a query
Creating a query saves search parameters that you use frequently so that you can re-use them.
You can create the following types of query:
• Personal queries: Sets of criteria that you can reuse through the DITA CMS
134 DITA CMS User Guide for oXygen
• TEXTML queries: Sets of criteria that you can access and edit through the TEXTML Server
console.
To create a query:
• To save the criteria as a personal query, click the Save Query button:
• To save the criteria as a TEXTML query, click the Save TEXTML Query button:
Note: The Save viewpoint with query option is displayed only if a viewpoint is
selected in the Search Results window.
3. Enter a descriptive name.
4. (Optional) Select Save viewpoint with query if you want to save the query along with
viewpoint.
5. Click OK.
The query is saved under Personal or Personal Textml in the Queries panel.
The search parameters are loaded into the various panels of the Search view.
4. (Optional) Modify the search parameters if necessary.
5. Click the Search button.
The Search Results view displays the documents returned by your query.
The parameters from that search are loaded into the various panels of the Search view.
Note: You can also remove searches from the history by right-clicking one or more
searches and selecting Delete Search for searchstring.
5. (Optional) Select or modify search parameters as required.
6. Click the Search button.
The Search Results view displays the documents returned by your search.
DITA CMS Search 137
For TEXTML Query Language syntax, see the TEXTML Server documentation.
• Personal or
• Personal TEXTML
Shared queries
You can share your personal and TEXTML queries with the other people who work on your
documents.
You can share your favorite personal and TEXTML queries with any of the configured roles or
groups on your Content Store.
You can also share queries that other people have shared with you.
1. In the Queries panel of the Search view, open the appropriate item:
• Personal, or
• Personal TEXTML
The people who belong to the Groups and/or Roles you specified will see the query under
their Shared > Personal or Shared > Personal TEXTML item.
If you are a member of any of these groups, you'll also see the query in that place.
• Shared, or
• Shared TEXTML
You'll see the Roles and/or Groups items that contain your shared queries.
2. Expand the appropriate Roles or Groups item.
You'll see the items for the various role names or group names that contain shared queries.
DITA CMS Search 139
Under each role or group name you'll see the queries that have already been shared.
The following image shows the queries that have been shared with a user in her various roles
– one as an Editor and the other as Project Coordinator.
4. Right-click a query and select Share queryname, where queryname is the query you've
selected.
The Share query with... dialog appears.
5. Select the Roles and Groups you want to share the query with.
6. Click OK.
The query will appear under the Shared item of people who are in the groups and/or roles
you specified.
If you are a member of any of these groups, the query will also appear under your own Shared
item.
Note: When you delete a shared query, you are deleting it for every other person who is
on that team.
140 DITA CMS User Guide for oXygen
1. In the Queries panel of the Search view, open a Shared item, either:
• Shared, or
• Shared TEXTML
You'll see the Roles and/or Groups items that contain your shared queries.
2. Expand the appropriate Roles or Groups item.
You'll see the items for the various role names or group names configured on your system.
3. Expand the required rolename or groupname item.
Under each role or group name you'll see the queries that have already been shared.
4. Right-click a query and select Delete queryname.
where queryname is the query you've selected. The following message is displayed:
Your selection contains at least one shared query. Are you sure you want to continue?
5. Click OK.
The query will disappear from that Role or Group under your own Shared or Shared TEXTML
item.
It will also disappear from these items for every other person who it has been shared with.
6 DITA maps
DITA maps
Both of these provide you with a hierarchical view of the map (the document structure) and its
component topics. Both let you drag and drop topics into the map, and then move them around
within the map structure. And they both have a History list that lets you quickly re-open the maps
you’ve recently been working on.
In addition, both of them offer you buttons that facilitate working with topics and sub-trees. The
Expand and Collapse buttons offer a quick way to deal with large complex sub-trees, by expanding
or collapsing all elements in the selected structure. The Print map button gives you a way of
creating a hard copy of the entire map structure. And the arrow buttons let you move documents
up and down within a sub-tree, as well as promote them within the map hierarchy.
Use the DITA Map Editor when you want to work with more than one map at the same time:
perhaps you want to compare the structure of two very similar maps. You can have several open
in the editor area, and switch between them as you would with any other document.
Use them to add and remove topics from the map and change their position in the map. You can
even drag topics directly from one map into the other.
The DITA Map view offers all the basic functionality of the DITA Map Editor and adds advanced
features that let you view map elements, build relationship tables, and perform searches on the
underlying XML of your topics and map. You can access these advanced features from its menu
button.
144 DITA CMS User Guide for oXygen
DITA maps 145
Topic alert indicators in the DITA Map view and DITA Map
Editor
Icons in these views let you quickly identify topics that are critical to the work flow.
When you are developing a large and complex document deliverable, it becomes difficult to spot
the topics that are keeping the map from progressing to the next stage in the document
development cycle. Similarly, if you are revising a large document, you'll want a way of identifying
exactly which topics have changed so that you can make sure that they are reviewed. DITA CMS
marks these problematical topics so that you can easily spot them in the maps you're working
on.
• Blocking topics - When a topic at the beginning of a development cycle is added to a map, the
system puts an alert indicator in the Status column. This indicator stays there until the topic
advances to a state that will let the parent map advance into its own next state.
When the map is promoted into its next state the alert indicator reappears on all topics. The
indicator stays there until all topics advance to a state that lets the map move forward into the
next cycle in the document development process.
• Modified topics - If a map has gotten to Authoring:done (or an equivalent final state, such as
Authoring:release), then as soon as you demote one of its constituent documents – whether
topic or map – to an earlier state, the system puts an alert indicator into the document's Last
Mod Date column. The icon is removed once the map returns to Authoring:done (or equivalent
final state).
146 DITA CMS User Guide for oXygen
Map sub-trees
Sub-trees display the hierarchy of topics in a map.
A sub-tree is a grouping of topics displayed in the DITA Map view. A sub-tree is usually comprised
of a parent topic and one or more child topics, and may also contain subordinate child sub-trees
within its structure. In fact, the DITA map file is the parent tree of all the sub-trees within the
document project.
Sub-trees can be expanded and collapsed, just like the map itself. You can also move sub-trees
around as a unit, and promote or demote them within the hierarchy.
Several of the topic functions such as Lock and Release are available as sub-tree operations in
the DITA Map view: e.g., Sub-tree > Lock.
Additionally, there is a specific feature that lets you search within specific sub-trees of a map.
DITA maps 147
Related Links
Search within a sub-tree on page 111
Create a map
A map is designed to manage topics – their order and relationships.
To start a new documentation project, you need to create a new map to structure the content.
For example, your group is creating a Training Guide to complete a documentation suite that
already has Marketing Factsheets and a User Guide.
DITA CMS offers you templates for the standard DITA ditamap and bookmap. In addition, your
system may contain custom templates designed for use in your particular working environment.
You'll see them in the Map template pane whenever you create a map.
If your working environment has a large number of templates, these may be organized into folders,
which will appear in the Map Template pane. You'll be able to navigate them to find the template
you need.
When you create a map, you have the option of assigning your own ID to the map. You can then
use this ID – or any portion of the ID – to search for the map in the repository. For example, if
you create the ID "Interim_version_3" you can search for the map using "Interim" or "version" or
"3". You can obtain this user-defined ID using the Copy ID procedure.
148 DITA CMS User Guide for oXygen
• Press CTRL+ALT+M.
The Create Map dialog appears. The ID field displays the system-assigned ID.
2. If you want—and if the field is available—you can assign the map an ID of your own.
If the field is greyed out, this means that your system administrator has disabled this feature.
3. Enter a Map Title.
Titles do not have to be unique.
4. Select a Language.
5. Select a Map template.
Templates provide you with the basic structure for the type of map you are creating and define
the rules for building the map.
6. In the Labels pane, click Select to add labels.
The labels that you select are listed in the Labels pane.
7. If the map template contains variables, the defined variable names appear in the
Template Variables section. Click in the Values column and type or select the values
for each variable as required.
8. If you want to edit the new map immediately, select Open map in DITA Map view.
If you choose not to edit the new map, you will need to use Search and open it from the
Search Results view when you are ready to edit it.
9. If you have a map open and locked in the DITA Map view, you can select the option
Add to current map as sub-map.
10. (Optional) To save the settings you have selected for Language, Map Template, and
Open map in DITA Map view, click the diskette icon at the bottom of the dialog.
Your selections are saved and used as the default values in the Create Map dialog. You'll
see them there the next time you create a map.
11. The next step depends on whether the Dynamic Release Management module is enabled
in your deployment:
DITA maps 149
• If you see the Next button at the bottom of the Create Map dialog, this module is enabled
in your deployment. Go to the next step to specify the release management details.
• If you see the Create button at the bottom of the Create Map dialog, this module is not
enabled. Click Create to create the map. You have completed this procedure.
The primary version is the version for which the object was initially created.
17. (Optional) To save the settings you have selected for All Products, Selected Products,
Releases, Versions, and Apply to global exclusion filter settings, click the diskette icon
at the bottom of the dialog.
Your selections are saved and used as the default values in the Select Versions dialog. You'll
see them there the next time you create a map.
18. Click Create.
The map you created is added to the repository.
Note: Any document that you create is automatically assigned to you.
Related Links
Map ID naming constraints in DITA CMS on page 150
150 DITA CMS User Guide for oXygen
In the remainder of the map ID, any of the above characters are allowed, with the addition of the
following:
• 0-9
• Period (.)
• Hyphen (-)
• Colon (:)
http://www.w3.org/TR/xml-names11/#NT-NCName
Related Links
Create a map on page 147
• Double-click the map name or right-click it and select Open from the menu.
You can have several different maps open in different kinds of map editors at the same time.
You can switch from one map to another by clicking the tab with the map title; your file will appear
in the editor with which you opened it.
In fact, it is recommended that you have more than one style of editor associated with your
documents. One, like the DITA Map Editor for an overall structural view; another, such as Simple
XML Editor or Oxygen, for looking at XML details.
Note: The Open With menu option becomes available when you have two editors
associated with a given file extension. To get access to the DITA Map Editor, simply
configure Simple XML Editor as one of your *.ditamap editors.
• Right-click the map and select Open With, then select the editor from the menu list.
Switch editors
Use this procedure to change the editor that you're using on an open document.
• The document must be topmost in the editor area.
• The editor area must not be minimized.
Once a document is open in the editor area, you can switch to one of the other editors that are
configured for use with that type of document.
1. From the DITA CMS toolbar, click the Open With... button ( ).
The list of editors configured for the current document appears.
2. Select an editor.
The current document is displayed in the selected editor.
DITA CMS keeps track of the maps you've been using (up to 25) and lets you select any of them
to open. You can find the list of recently opened maps at the bottom of the DITA Map view or the
DITA Map Editor.
152 DITA CMS User Guide for oXygen
Print a map
You can print out the map's structure, complete with all its topics.
This feature lets you produce a hard copy of a map that's open in the DITA Map view or DITA
Map Editor so that you can quickly review its structure.
Tip: On Windows, there's a handy utility that lets you use this feature to produce a PDF
file. Just install PDFCreator.
1. In the DITA Map view or DITA Map Editor, click the Print this tree button ( ).
The Print dialog appears.
2. Select your printer and settings, if necessary.
3. Click Print.
Pre-publication flags
Icons in DITA Map view and DITA Map Editor let you quickly identify documents that are about
to be published.
When you are working in an environment where there is a lot of document re-use, there is always
the possibility that someone will demote a document that is being used in a map that's just about
to be published. This will trigger a status cascade that will send the map, and possibly many of
its subordinate documents, back to the beginning of the Authoring cycle. All of them will then
have to be checked and promoted back to the appropriate level before the map can move on to
the Publication cycle.
For this reason, as a map and its topics reach their final approval stage, DITA CMS puts on
pre-publication flags to warn people that these documents are about to be published.
Images are also flagged; you'll see these in Search Results, Dependencies view, or your Todo
List.
The system will automatically remove the pre-publication flags when the map is published, or if
it's demoted back to an earlier state.
DITA maps 153
1. In the DITA Map view, click the Export Map as TSV button ( ).
The Save As dialog appears.
2. Confirm or change the proposed file name and location.
3. Click Save.
Edit a map
The Edit procedure locks and opens a map at the same time.
The file must not be locked by another user.
Use Edit to save yourself a step when you want to edit a map that is not locked.
Maps can be opened for editing from almost any view in the DITA Perspective, as long as they
are in a state that allows editing. You cannot, for example, edit a map that is in the final review
state (or its equivalent in your workflow).
When you select this option, you can see the contents of the map in the Author view of the map.
For example:
DITA maps 155
Note: You can see the content of the map, but you cannot edit it. You must open each
object separately before you can edit it.
This option also allows you to open the map in oXygen and not see error messages such as the
following:
Preview a map
You can view the contents of a map using the Show Preview command.
When you use the Show Preview command, the DITA CMS lists the objects in the map, as
shown below:
Some notes:
Note:
Topics and other maps may be added to maps using a drag and drop technique. This lets you
control where you want the document to appear in the final document deliverable. You can drag
in one or several documents at the same time.
• Topics
• Maps
• If the cursor is a highlight, the document(s) will be added as a child of the selected file (as
shown in the illustration below).
• If the cursor is a solid line, then the document(s) drop into the map at the level of the line's
end.
• In the second example of the figure, the document(s) will be moved to the same level
as the topic "GUI modifications".
• In the third example, the topic(s) will be moved to the level of "View: My Todo list".
158 DITA CMS User Guide for oXygen
The document(s) appear in the map at the place you dropped them.
1. In the XML editor, select the topic to add to the current map.
The tab for that topic is highlighted.
2. In the DITA Map view, select where to add the topic.
3. From the DITA CMS toolbar, click the Append to Map button ( ).
The topic will be added to the map in the DITA Map view. If a topic was highlighted in the
map, the new topic will be added after the highlighted object. Otherwise, the topic will be
added at the end of the map.
Moving documents within a map lets you decide where information will appear in the final document
deliverable.
Note: If you move the parent topic of a sub-tree, all the child topics move with it.
• In the DITA Map view drag and drop the document into the map.
• If the cursor is a highlight, the document will be added as a child of the selected file (as
shown in the illustration below).
• If the cursor is a solid line, then the document drops into the map at the level of the line's
end.
DITA maps 159
• In the second example of the figure, the document will be moved to the same level as
the document "GUI modifications".
• In the third example, the document will be moved to the level of "View: My Todo list".
Use the buttons at the top of the DITA Map view and DITA Map Editor to promote documents
within a map.
Note: If you move the parent topic of a sub-tree, all the child topics move with it.
1. In the DITA Map view or DITA Map Editor, highlight the document you want to promote.
In the pictures below, the highlighted topic on the left is a child of "Working with views and
editors".
Tip: You can use the CTRL+Z and CTRL+Y shortcut keys to undo and redo moves within
a map.
Use the buttons at the top of the DITA Map view and DITA Map Editor to demote documents
within a map.
Note: If you move the parent topic of a sub-tree, all the child topics move with it.
1. In the DITA Map view or DITA Map Editor, highlight the document you want to demote.
In the pictures below, the highlighted topic on the left is a first-level child of the map:
"Introduction to DITA CMS".
In the picture on the right, it has been demoted one level to a child of the topic "Working with
views and editors".
DITA maps 161
Tip: You can use the CTRL+Z and CTRL+Y shortcut keys to undo and redo moves within
a map.
Use the buttons at the top of the DITA Map view and DITA Map Editor to move documents up
or down.
Note: If you move the parent topic of a sub-tree, all the child topics move with it.
1. In the DITA Map view or DITA Map Editor, highlight the document you want to move.
2. Click either:
Tip: You can also use the CTRL+UP ARROW and CTRL+DOWN ARROW shortcut
keys.
You can specify a document within a map as a insertion point where other documents (topics
and maps) may be added. This is particularly useful if you are adding topics to specific sub-trees
of a large and complex map.
You can specify topics, sub-trees, or other maps within the parent map as drop points.
Note: The drop points defined are active until you open another map in the DITA Map
view.
1. Open the map in the DITA Map view.
2. Right-click the topic or map file and select Set Drop Point.
A drop point decoration appears on the selected document.
You can now use these points as targets when you are adding documents from other
views.
Related Links
List of icons on page 60
Document(s) may be added as children or as siblings of the document where a drop point is
defined.
The document(s) are added to the map at the specified drop point.
Related Links
List of icons on page 60
• If the topic is a reference to an existing topic file, the title displayed in the map is the value of
the <title> element set in the topic file. This will be the case for most topics.
The title of this chapter will be "Topic A title, taken from title element" in the DITA Map view,
as shown below:
• If the topic is not an href, that is, it does not reference an existing topic file, then the title is
taken from the navtitle attribute set directly on the topic, if available.
164 DITA CMS User Guide for oXygen
The chapter highlighted in bold does not refer to an existing topic file; instead, it is used as a
container chapter for a set of topics. The title of this chapter will be "Topic title, taken from
navtitle attribute", as shown below:
• If the topic is not an href and the navtitle attribute is not set directly on the topic, then the
title is taken from the <navtitle> element if set for that topic.
The title of the chapter highlighted in bold will be "Topic title, taken from navtitle element", as
shown below. Note that, to show that the title was not set directly on the chapter element but
rather was pulled from another element, the title is displayed in italics and starts with a number
sign (#):
DITA maps 165
Some notes:
• For all maps other than bookmaps, the titles for topics that are not hrefs are only displayed
when the Show Elements option is selected.
• The display of navtitle attributes and elements in the output depend on your transformation
scenarios. This section only covers how they are displayed in the DITA CMS.
Using the navtitle element with the locktitle and href attributes
In previous releases, the DITA CMS always displayed the title of the referenced topic in the Map
view, even when a <navtitle> was specified and the locktitle attribute was set to "yes".
This behavior did not correspond with the DITA 1.2 Specification.
As of Build 82, this issue has been fixed and the Map view displays the topic titles according to
the DITA 1.2 Specification. For more information, see:
Since the locktitle attribute is set to "yes" and a <navtitle> element is specified, the
topic title displayed in the Map view will be the content of the <navtitle> element (i.e., "my
navtitle"), as shown below:
Since the locktitle attribute is set to no, the topic title displayed in the Map view will be the
title defined in the referenced topic (even if the <navtitle> element is specified), as shown
below:
DTDs that follow the DITA 1.1 specification use the map's title element to assign a name to a
map. If your map was created using such a DTD, then you will use this procedure to rename it.
3. If necessary, click the DITA Map view’s Menu button and select Show Elements.
4. Open the Properties view. Either:
Under the DITA 1.0 specification, DITA maps obtained their names from the title attribute of the
map element. If your map was created using such a DTD, then use this procedure to rename it.
A document can be easily removed from a map if it is not required for a given document
deliverable. This will not affect other maps where a topic may be referenced.
Tip: If you remove a parent topic from a map, all its children are removed as well. If you
want to keep child topics in a map, first move them elsewhere in the map.
Buttons on this display window let you print its contents or export them as a PDF.
• In the DITA Map view or DITA Map Editor, click the Show statistics button ( ).
• In Project Management view, right-click any map and then select Show Statistics.
The topics listed below are dealt with in this section. Search and Replace is described in the
chapter on Search utilities.
The Properties view is open also, and you can see that the currently selected map element has
been given the navtitle "Vista Settings".
DITA maps 171
All map entries are removed from the DITA Map view's History list.
Use this procedure to add any of the elements defined in your map's DTD directly to your DITA
map. For example, if you are using a template that supports bookmaps, you could add elements
such as <chapter> and <section>.
You can also use this procedure to add topic elements directly to a map, if you are using the
topic stub feature.
If you are using the topic stub feature to plan the structure of a map, this procedure lets you
specify the topic navtitle and type. This is also the procedure you use for specifying topic types
when you are working with reltables.
Note: Some attributes cannot be edited from the Properties view. For example, you cannot
change the class or the conditions (audience, product, platform, etc.) from that view.
1. Open the map in the DITA Map view.
2. Highlight the map element whose attributes or text you want to edit.
3. Open the Properties view.
4. If necessary, expand the Attributes node.
The element's attributes are listed in alphabetical order.
5. Type a Value in the field next to the appropriate attribute(s).
For example, you could enter "task" (without quotation marks) in the field next to the type
attribute.
Use this procedure to change a map element into another element that's valid in that position in
the map.You could, for example, change a <shortdesc> into a <searchtitle>. Or you could
change a <topicref> into a <chapter>.
If you're creating <topicref> elements in a map, you can use the Create Topic Stub dialog to
simultaneously assign navtitles and type attributes.
This procedure simultaneously creates a topic stub and supplies the necessary attribute values.
A new <topicref> element is added to the map and assigned navtitle and type attributes based
on your entries in the Create Topic Stub dialog. You can change navtitle and type, if you want,
by editing these attributes.
After you have inserted <topicref> elements and assigned each element a navtitle and
type attribute, you are ready to turn these elements into topic stubs.
DITA maps 175
Note: If any of your elements do not have navtitle attributes, you won't be able to start
the generation process.
This dialog displays all the <topicref> elements in the map that have not yet been turned
into topics.
If a title is displayed in red it is not in a valid state for stub generation. The Comment column
shows the reason. In the screen shot below, three of the titles are showing "Missing or invalid
template". This may be because their type attributes have not been set.
4. (Optional) You can assign a topic type at this time by selecting a Template.
This method can also be used to change topic types on the fly.
176 DITA CMS User Guide for oXygen
5. (Optional) You can edit any Title at this time, if you want.
6. Select the elements that you want to generate stubs from.
If you select the checkbox next to the map Title, you can generate stubs from all the elements
that are ready.
7. Click OK.
The selected map elements are turned into topics, using the templates appropriate for the
type, and are added to the map.
reference to a topic that is not in the map scope, the Validate Links command returns an
out-of-scope error.
You cannot publish a map that contains out-of-scope links.You should run this command regularly
to confirm that all your links are correct.
This message indicates that one or more documents in your map refer to the topic "Default
roles" (with ID mal1306465423706), but this topic is not in the map. To find this reference:
For example:
178 DITA CMS User Guide for oXygen
This view shows that topic "Assign documents to users" is referencing the topic "Default
roles." If you open the "Assign documents to users" topic, you will probably find the faulty
link. You can fix it and run the command again.
7 Document management
Document management
Note: Any DITA CMS map, topic, image, or resource can be locked.
Locking a document prevents other users from accessing the file and makes it available for
editing. Authors lock files to edit them or merely to prevent other users from modifying them. Any
changes are saved on your local hard drive until the file is released. The Lock function is available
from all DITA CMS views. For images and resources, it is also available from the Show/Edit
dialog.
1. Search to locate the map, topic, image, or resource you want to lock.
2. Select one or more document objects.
3. Right-click and select Lock.
Tip: If you are in DITA Map view, to lock all children of a given topic, select the topic,
right-click, and select Sub-tree > Lock.
The selected documents are now locked for your exclusive use. The locked documents are
displayed in blue in the DITA CMS, and the Locked By column (if selected for your setup)
displays the ID of the user who locked them.
4. Double-click a document object to open it for editing.
Tip: The procedure above described how to lock and then open a topic. Alternatively,
to lock an already-open topic:
• From the oXygen editor, click the Lock icon on the toolbar ( )
Related Links
Change status on page 187
Icons and colors on page 59
• The document object (that is, a map, image, or topic) must be in the locked state.
• Document objects can only be released by the user who locked them.
Releasing a map, topic, or image saves your latest modifications to the server and frees the file
so other users can edit it. In the case of a map, the release command updates changes to the
map's structure. In the case of an XML topic, the release command validates the topic to ensure
that references are correct and that the XML is well-formed. If your XML document has errors,
you will be able to save it locally, but you will not be able to release it to the server. Using the
release function regularly serves two purposes:
To release a document:
4. Do one of the following to describe the changes since the last update:
Note: If preset comments have not been configured for your DITA CMS, the Preset
comments area will be blank.
5. (Optional) If you are using a bug tracking system (such as JIRA or Bugzilla), add the
bug number that you are fixing with this release in the Tracker link field.
A link to the bug will be added to the Release History. To add more than one bug, separate
them by a comma.
6. (Optional) To update the document without releasing it, select Keep locked.
Note: The Substantial Change option, selected by default, means that when the
document is released, it can be advanced to the next status (typically edit/review).
However, if you made a minor change to a previously-edited topic, you can clear the
Substantial Change option. The document state will pass directly from rework to
done (or according to your configuration) and the document will not appear in SMEs'
Todo lists.
7. Click OK.
The document is updated in the repository of your Content Store. If you release a document
that has not been changed, the lock is simply removed; no new document version is created
in the DITA CMS. If you did not keep the file locked (Step 5), the file properties are displayed
in black text in the various views. The comment you specified appears under Last User
Comment in Todo Lists, as well as in the other places that file properties are displayed, such
as Search Results view and DITA Map view.
If you're using the Oxygen editor and you want to release a topic that's
currently open in your editor, you can do one of the following:
Related Links
Document management 183
Use this procedure to release an entire group of subtopics quickly. Note that you cannot
enter comments for sub-topics released this way. If you wish to add comments, use the
release documents procedure instead.
Cloning creates a copy of a map, topic, or image with a new ID. Topics can be cloned to create
a copy of a topic as a starting point for developing a similar—but not identical—topic for use in
a separate map. Similarly, maps can be cloned to serve as a starting point for creating a document
that will share many of the same topics as the original map. Images can be cloned when you
want to create a similar image but you need to keep the original one. The Clone command is
available from all DITA CMS views.
When cloning a map, topic, or image, the following options are available only if the containing
map is locked and opened in the DITA Map view:
• Replace original component: The cloned map, topic, or image is created and added to the
containing map; the original map, topic, or image is removed from the map but is not deleted.
All external cross references that point to the original map, topic, or image are kept as is; they
are not updated to point to the cloned map, topic, or image. Internal cross references (from
point A to point B in the original topic) are updated in the cloned topic.
• Append to parent: The cloned map, topic, or image is added to the containing map. When
you select this option, the Replace original component option is disabled.
4. To replace the original map, topic, or image with the clone, select Replace original
component.
The cloned map, topic, or image is created and added to the containing map; the original
map, topic, or image is removed from the map but is not deleted.
5. To add the clone to the map displayed in DITA Map view, select Append to current
map.
Note: This option is not available if you selected Replace original component
6. To have the map, topic, or image open in your DITA CMS workspace immediately once
it is created, select Open in default editor.
7. Click Clone.
The cloned map, topic, or image is created with a unique filename and is added to the
repository.
8. If you selected Open in default editor, you may now make changes to the map, topic,
or image as required.
9. If you selected Append to current map, drag the new topic to the required position in
the map.
• File System Information: Provides the file name, path, size, and MIME type.
• Creation Information: Provides information on the documentation team members who
have worked on the file and the dates.
• Metadata Information:Provides the file type, status, title, language, lock, and document
cycle status.
• Version Label: Provides the last published version of the document and other version
details. Version labels appear in the Version: Provides the version labels applied to this
object.
4. Click Close.
Document management 187
Change status
This procedure describes how to update the status of a document object in the document cycle.
Prerequisites:
• The document object must have a status other than published (or as defined in your
configuration).
• The document object must be unlocked.
1. From the DITA perspective, perform a search to locate the document object.
Tip: For topics, you might prefer to search for and open the parent map. Expand the
map ( ) to view all its topics.
2. Release any locked document objects for which you want to change the status.
3. Select the document objects for which you want to change the status.
Note: If you are selecting more than one document object, they must all have the
same status (check the Status column).
4. Right-click and select Change Status from the menu.
The Change Status window appears:
The statuses available depend on which cycle is applicable for the parent map (Authoring
in the example above) and the states configured for your DITA CMS.
188 DITA CMS User Guide for oXygen
Note: If you cleared the Substantial Change option when releasing the document
object, certain states may not be available.
6. (Optional) To enter a comment, do one of the following:
Note: If preset comments have not been configured for your DITA CMS, the Preset
comments area will be blank.
The comment that you enter will appear under Last User Comment in everyone's Todo
Lists, as well as in the other places that file properties are displayed.
7. Click Change.
Note: If your system is configured for obligatory comments, you will need to enter a
comment.
If this change impacts other documents—other maps that refer to a topic, for example—a
warning dialog appears.
If you have demoted a document to the beginning of its cycle, you are automatically assigned
that document.
Related Links
Document development process on page 43
Document management 189
DITA CMS maintains the files you are working on in the active area of the repository. Over time,
you may want to eliminate unnecessary maps, topics and images--for example, multiple topics
of the same name, some of which are outdated or contain inaccuracies. The delete function lets
you eliminate such files from the active area, without erasing them altogether.
The Delete function is available from all DITA CMS views with the exception of the DITA Map
view.
3. Click OK.
The file is deleted from the active area of the repository.
Note: Accidentally deleted files may be recovered with the Restore function.
Note: If you get a Cannot Delete window, see Troubleshooting unresolved
cross-references on page 247.
190 DITA CMS User Guide for oXygen
This is useful if the system administrator has updated a style sheet for your preview browser, for
example. Or if new users have been added to the system, and you want to assign documents to
them.
• From the menu bar, select DITA CMS > Synchronize Configuration.
• Press CTRL+SHIFT+S.
Document management 191
• The Display All Values section lists the values for all the fields that can be displayed in any
view (for example, in the Search Results columns). This information is configurable per
deployment.
Note: For more information about adding or removing the information displayed in the
DITA CMS views, see the DITA CMS Administrator's Guide.
• The Display Parents section lists the parents (for example, containing maps) to which the
selected object belongs.
1. To display the Information view, from the menu bar select Window > Show View >
Other.
The Show View window is displayed.
2. Expand DITA CMS - General, select Information, and click OK.
The Information view is displayed.
3. Select an object in any of the DITA CMS views (DITA Map, Search Results,
Dependencies, etc.).
The Information view is updated and provides details about the selected object.
4. To customize the information displayed in the Information view:
a) Click the Show/Hide Sections button ( ) in the top-right corner of the view.
b) Customize the options as follows:
• Display All Values: Clear this option to hide the values section.
• Display Parents: Clear this option to hide the parents section.
• Show Empty Values: Clear this option to see only the fields with available values.
By default, the Information view is updated whenever you select an object in any DITA CMS view.
You can disable this behavior by pinning a specific document in the view.
The Information view will no longer be updated when you open other documents.
8 Revision control
Revision control
This procedure is also available for maps and sub-trees. In this case, it's called Replace sub-tree
with server revision. The Replace sub-tree with server revision option only appears in the DITA
Map view.
Tip: If you're using the oXygen editor and you want to replace a topic that's currently open
in your editor with its last server revision, you can do one of the following:
• In Text mode, right-click anywhere in the topic, then select Replace with Server
Revision.
• Click the Replace with server revision button in the toolbar ( ).
The Replace with server revision function is available from all DITA CMS views.
1. Right-click the file and select History > Replace with server version (or Sub-tree >
Replace sub-tree with server revision if applicable) from the menu.
Tip: You can select several files by holding down CTRL or SHIFT and clicking the
files.
The Confirmation dialog tells you that replacing the file will undo all local modifications.
2. Click Yes.
If you are reverting a sub-tree, a Progress Information dialog will appear.
The file is replaced and its name will be displayed in black text in the view where you
locked it.
The system also creates a new revision when a document is demoted from its final status (for
example, "done" or "released") back to an earlier status point.
In the screenshot shown below, revision #3 shows the file's progress from Authoring:start to
Authoring:accepted. Revision #4 was generated when the file was promoted to Authoring:done;
and revision #5 when the file was demoted back to Authoring:start.
Note: States and status points are installation-specific. Those shown in the illustration
are the ones used at IXIASOFT Technology and may differ from the ones used in your
working environment.
The View revision history function is available from all DITA CMS views.
1. Use Search to display the file in the Search Results view or scroll to find it in the DITA
Map view.
2. Right-click the file and select Revision History... from the menu.
The Revision History dialog displays the list of file revisions, with the latest at the top.
3. Close the dialog box when you are done.
196 DITA CMS User Guide for oXygen
1. Right-click the document and select History > Revision History... from the menu.
The Revision History dialog displays the list of file revisions, with the latest at the top.
2. Double-click the revision you want to view.
• If you select a topic, a read-only copy of the earlier document opens in the editor area
• If you select an image the Show/Edit Image dialog displays the earlier version and its
metadata. You can view any of the image resolutions.
• If you select a resource, the Show/Edit Resource dialog displays the earlier version and
its metadata. You can open any of the items that it contains.
• If you select a map, a copy of the earlier map opens in the DITA Map view.
Note: The map file is a copy and cannot be edited. But the topics that it contains
may be actual topics and may be edited like any other topics.
The document will remain open in the workspace until you close it.
You may want to revert to an older revision if you encountered an error or made changes in the
wrong file. Revision numbers are managed by the system to ensure they are the same for all
users.
1. Right-click the object and select History > Revision History... from the menu.
The Revision History dialog displays the list of all revisions, with the latest at the top.
2. Scroll to highlight the revision you want to revert to.
3. Click Revert to.
A new revision is created from the selected older version. If the version you reverted was
revision 5, the new version is now revision 6. The new object has the older version's content,
but its status will not be changed.
Compare documents
DITA CMS lets you compare documents with other documents, and with earlier versions of
themselves.
Inevitably, you will need at some point to see what the exact differences are between two
documents.You can compare topics and maps with their earlier versions or with other documents
of the same type.
You can also generate a report that tells you which topics and images are shared in common by
a given set of maps.
If you are comparing topics, the two selected topics open as a read-only Compare file in the
Eclipse Compare tool with the differences between the two files indicated. See Eclipse
documentation for more information.
If you are comparing maps, the DITA Map Compare Editor shows the two maps with their
differences highlighted. A red highlight indicates that a topic is present in one map, but not in the
other. A green highlight means that the topic is present in both maps, but not in the same position.
No highlight means that the topics are present in both maps, and in the same position in the
hierarchy.
198 DITA CMS User Guide for oXygen
Note that the DITA Map Compare Editor uses the topic ID and revision number to determine if
two topics are identical. It does not look at the contents of the topics. Therefore, two topics with
the same ID and identical contents but with different revision numbers will be considered different.
Note: Using the DITA Map Compare Tool is not recommended if you are using the
Dynamic Release Management module. Please use the DRM synchronization feature
instead.
Related Links
Specify compare tool on page 612
1. Right-click the file and select Revision History... from the menu.
The Revision History dialog displays the list of all file revisions, with the latest at the top.
2. Select the first revision, and hold down CTRL and click the second revision.
The Compare button becomes active in the Revision History dialog.
3. Click Compare.
The two files open beside each other in your compare tool with the differences indicated.
The two selected revisions open in your configured compare tool with the differences
between the two files indicated.
Right-click the file and select Compare With > Compare with Latest Server Revision
from the menu.
The two revisions open in your configured compare tool with the differences between the
two files indicated.
1. Select the first document, hold down CTRL, and click the second document.
2. Right-click, then select Compare With > Compare with Each Other from the menu.
The two documents open beside each other in your configured compare tool with the
differences indicated.
• Right-click the document, then select Compare With > Compare With Authoring Source
from the menu.
The two documents open beside each other in your configured compare tool with the
differences indicated.
Tip: You can search by branch tag in the Limit to panel of the Search facility.
• Right-click the document, then select Compare With > Compare With Published Source
from the menu.
The two documents open beside each other in your configured compare tool with the
differences indicated.
The report is saved as a TSV (Tab Separated Values) file that can be easily imported into
other programs, such as a spreadsheet application.
Changes to images in the topics may or may not be highlighted depending on the type of change
made. If an image element is deleted or the image ID is replaced in the topic, then the change
will appear in the redlined output. Editing the .image file itself such as adding a different format
or editing the graphic will not result in the image being highlighted in the redline output.
Note: Redlining the Table of Contents is not supported by default since it requires a hack
directly in the DITA-OT.
Note: This functionality is only available if your system uses the DITA Open Toolkit version
1.8.5 or later.
1. Right-click the map and select Compare With > Redline With.
2. Click the checkbox next to the published version to which you want to compare the
map.
Topics
Create a topic
Use this procedure to create a new unit of information using one of the structured topic templates.
New topics are typically created at the beginning of a project, during the Authoring cycle (or its
equivalent in your workflow) when the units of information take shape.
DITA CMS provides templates for all the standard DITA topic types, such as task and concept.
In addition, your system may contain custom templates designed for use in your particular working
environment. You'll see them in the Topic Template pane whenever you create a topic.
If your working environment has a large number of templates, these may be organized into folders,
which will appear in the Topic Template pane. You'll be able to navigate them to find the template
you need.
• Press CTRL+ALT+T.
8. (Optional) To save the settings you have selected for Language, Template, Open topic,
and Append topic, click the diskette icon at the bottom of the dialog.
Your selections are saved and used as the default values in the Create Topic dialog. You'll
see them there the next time you create a topic.
9. Click Create to create the topic.
The new topic is added to the repository and given a unique file name. Use Search with
the Authoring check box selected to display the new file in the Search Results view.
Note: Any document that you create is automatically assigned to you.
Open a topic
Use Open to view a topic as read-only or to continue work on a topic you already locked. If a
topic is locked by another user, you can only open it as read-only.
Topics can be opened from any view in the DITA Perspective. If you open several topics in the
XML editor, you can switch from one topic to another by clicking the tab with the topic title.
Depending on your configuration, topics that are unlocked, or that are locked by another user,
may open in the Read-only Editor. This feature lets you look at a topic without the risk of
inadvertent modifications. The Read-only Editor shows the XML markup as well as the topic's
text.
Tip: Use the Preview view if you want to see how a topic in the Read-only Editor actually
displays (if, for example, it’s locked by someone else).
If you want to make any changes to a file that is not locked, use Edit to both open and lock the
topic at the same time.
Use Open With when you have more than one editor associated with the .xml file extension.
Switch editors
Use this procedure to change the editor that you're using on an open document.
• The document must be topmost in the editor area.
• The editor area must not be minimized.
Once a document is open in the editor area, you can switch to one of the other editors that are
configured for use with that type of document.
1. From the DITA CMS toolbar, click the Open With... button ( ).
The list of editors configured for the current document appears.
2. Select an editor.
The current document is displayed in the selected editor.
Preview a topic
Use this procedure to see a WYSIWYG version of a topic.
When you select Show Preview for a topic, the Conditionals panel appears if your topic contains
conditional text. It shows the conditional attributes defined by the DITA specification, with check
boxes for each attribute value used in the current topic.
Topics 207
Here is an example of what a topic that contains conditional text looks like in the Preview window.
Use the check boxes to hide or display the portions of your topic that are tagged with these
attributes.
If you only have one condition in a topic, you’ll always see the conditional text displayed, whether
or not the corresponding check box is selected. If you really want to see what your topic looks
like without that single condition, create an alternate dummy condition and then select its check
box.
Note: The Preview view does not resolve conrefs or keyrefs, so you will not see that
content in the Preview. For example, if the conref is a <note>, you will see the “Note”
prefix because that comes from the display stylesheet, but you will not see the contents
of the note.
To preview a topic:
3. If you make changes to the topic in the XML editor, click the Preview pane Refresh
button ( ) or repeat one of the previous options to see your changes.
4. (Optional) If desired, click the Print button ( ) to print the contents of the Preview.
Related Links
About conditional attributes on page 338
• In the required view, click the Turn off thumbnail display button ( ).
Rename a topic
The Rename procedure changes the title of a topic.
The file must not be locked by another user.
The names that identify topics when they appear in the DITA Map view or in the Search Results
view are determined by their <title> element. You can rename a topic by editing its title.
to
<title>Introduction</title>
Edit a topic
The Edit procedure locks and opens a topic at the same time.
The document must not be locked by another user.
Use Edit to save yourself a step when you want to work on a topic that is not locked.
Topics can be opened for editing from almost any view in the DITA Perspective, as long as they
are in a state that allows editing. You cannot, for example, edit a topic that is in the review state
(or its equivalent in your workflow).
You can have more than one topic open in the XML editor at a time. You can switch from one
topic to another by clicking the tab with the topic title.
To edit a topic:
1. In the XML editor, select the topic to add to the current map.
The tab for that topic is highlighted.
2. In the DITA Map view, select where to add the topic.
3. From the DITA CMS toolbar, click the Append to Map button ( ).
The topic will be added to the map in the DITA Map view. If a topic was highlighted in the
map, the new topic will be added after the highlighted object. Otherwise, the topic will be
added at the end of the map.
210 DITA CMS User Guide for oXygen
• Misspelled word
• Number of occurrences of the misspelled word
• Document in which the misspelled word was found
Words are listed once per document, even if the document contains multiple occurrences of
the misspelled word. Words that are misspelled in multiple documents are listed once per
document.
Case sensitivity
The Spellchecker is case sensitive; for example, Unix and unix are considered two different words
when spell checking.
Note: The Replace feature is case insensitive; for example, if you select unix and replace
it with Unix, it will replace all occurrences of the word unix, no matter its casing (e.g.,
Unix, unix, UNIX will be replaced with Unix).
Topics 211
Language
The Spellchecker works with any language configured for your deployment.
To determine the dictionary used to spell check a document, the Spellchecker uses the value of
the xml:language attribute in the root element of the map or topic. For example, consider the
following topic:
The en-us dictionary will be used to spell check that document, and custom words will be added
to the en-us custom dictionary.
Skipped elements
By default, the spell checker skips the contents specified in the <codeblock> and <codeph>
elements. This is configurable per deployment, so check with your CMS Administrator for the list
of skipped elements.
• Open the document that contains the misspelled word and fix the error
• Add a word to a global custom dictionary
• Choose from a list of suggestions and fix all occurrences of the misspelled word in the selected
document
1. Right-click the topic(s) or map you want to check and select Spellcheck.
If you select a map, all of its child topics are checked as well.
Then a custom dictionary does not exist for your deployment. Ask your CMS Administrator
to create the custom dictionary by adding a word to it.
214 DITA CMS User Guide for oXygen
10 Creating links
Creating links
Relationship tables
These procedures tell you how to use reltables in DITA CMS.
Reltables let you create dynamic linking between topics, without compromising reusability.
Open the Reltable Editing Perspective from the DITA Map view's
menu
This procedure opens the Reltable Editing Perspective from the DITA Map view's pull-down
menu.
Open the Reltable Editing Perspective from the main menu bar
This procedure tells you how to open the Relationship Table Editing Perspective.
• Click Window > Open Perspective > RelTable Editing from the menu bar.
This view provides a quick way of locating all the reltable rows that contain a selected topic or
topics.
When you highlight a topic in the DITA Map view, all the rows and tables where the topic is used
will be listed in the Relationship Outline view.
Creating links 217
If you highlight more than one topic, then the Relationship Outline view will first display the rows
where both topics appear together, followed by lists of the rows containing each topic by itself.
This view lets you quickly visualize the tables and constituent rows, as well as the cells and their
contents.
• The Table Display area shows the tables in your map as collapsible nodes with their rows
displayed beneath. You can right-click in this area to add and remove tables, rows, and cells.
• The Filter field provides a way of locating rows in the Table Display area. Enter any string,
and the Table Display area will show the rows whose names contain these characters.
• The Row Display area shows the contents of the row that's highlighted in the Table Display
area. The row name appears at the top. Each cell and its topics are displayed beneath. You
can right-click in this area to add and remove topic groups.
Related Links
Locate reltable rows where a topic is used on page 229
Filter reltable rows in the Table Display area on page 232
Locate reltable rows where a topic is used on page 229
Filter reltable rows in the Table Display area on page 232
218 DITA CMS User Guide for oXygen
DITA CMS lets you insert a pre-formatted table of type CRT into a map. The CRT table has a
single row, which contains three relcells. Each of these relcells has its type attribute set to
concept, reference, or task, respectively.
Note: The exact configuration of available pre-formatted tables may vary with your
installation – like the rest of DITA CMS, all the details are configurable. New templates
can also be created for your environment. See the DITA CMS Administrator's Guide for
more information.
You can retype these cells as you wish or add cells and rows of other types, as you find convenient.
A dialog box appears, asking you to enter a name for the table.
Note: The exact configuration of available pre-formatted rows may vary with your
installation – like the rest of DITA CMS, all the details are configurable. New templates
can also be created for your environment. See the DITA CMS Administrator's Guide for
more information.
The number of cells per row and their type are configurable and may vary with your setup.
A dialog box appears, asking you to enter a name for the row.
There may be times when you want to work outside the restrictions of a pre-configured row. DITA
CMS lets you add row elements directly to a reltable, so that you can configure them the way
that best suits you.
Note: After you've inserted the new row, it's a good idea to assign it a name. This allows
you to search for the row in the Table Display area.
1. In the Table Display area, highlight the row where you want to add the cell.
2. Right-click, then select Insert Cell > celltype.
where celltype is one of the following:
• concept.xml
• reference.xml
• task.xml
A new cell of the selected type is added to the reltable row and appears in the Row Display
area.
DITA CMS lets you add relcell elements directly to a reltable row, so that you can configure them
the way that best suits you.
1. In the Table Display area, highlight the row where you want to add the cell.
2. Right-click, then select Insert Element > relcell.
222 DITA CMS User Guide for oXygen
A new unconfigured cell is added to the reltable row and appears in the Row Display area.
When you crate a reltable, you specify its name, but you can change that name at any time after
the table is created.
1. In the Table Display area of the Reltable Editing view, highlight the table you want to
name.
2. In the Properties view, click in the entry field for the title attribute.
3. Type in the name you want to assign to the table.
When a reltable is created it will have a row named something like "Row 1". Use this procedure
to assign it a descriptive name.
1. In the Table Display area of the Reltable Editing view, expand the table that contains
the row you want to name.
2. Highlight the row.
3. In the Properties view, click in the entry field for the xtrc attribute.
4. Type in the name you want to assign to the row.
The new row name appears in the Table Display area and in the Row Display area.
1. In the Table Display area of the Reltable Editing view, highlight the row where you want
to add the topic.
Creating links 223
The topic appears in the cell at the place you dropped it.
1. In the Table Display area of the Reltable Editing view, highlight the row where you want
to add the topic and its children.
The selected row's contents appear in the Row Display area.
2. Hold down the Alt key and drag the topic from the DITA Map or Search Results view
into one of the cells in the row.
The topic and all its children appear in the cell at the place you dropped it.
Topic groups let you create relationships among the topics within a reltable cell. The specifics of
the output they produce will depend on the XSL that is applied to them.
1. In the Table Display area of the Reltable Editing view, highlight the row where you want
to add the topic.
The selected row's contents appear in the Row Display area.
2. Right-click the reltable cell where you want to insert the group, then select one of the
following values:
You can insert these groups into any type of cell. The screen shot below shows a sequence
group inside a concept type of cell.
Related Links
Reltable example three: linking topics of the same type on page 239
Reltable example five: creating sequences on page 242
Reltable example three: linking topics of the same type on page 239
Reltable example five: creating sequences on page 242
1. In the Table Display area, highlight the row you want to remove.
2. Right-click, then select Remove from RelTable.
1. In the Table Display area, highlight the row that contains the cell you want to remove.
2. Right-click the <relcell> line at the top of the cell, then select Remove from RelRow.
The cell and all its topics are removed from the reltable row.
Creating links 225
If you have created a pre-configured CRT row you may at some point want to change a cell's
type so that it accepts other types of topics. Or you may want to remove the type attribute
altogether so that the cell accepts all types of topics.
Or, if you have created an untyped row, you may want to limit it to a specific type of topic.
1. In the Table Display area, highlight the row that contains the cell you want to re-type.
The selected row's contents appear in the Row Display area.
2. Highlight the cell.
3. In the Properties view, click in the entry field for the type attribute.
4. Enter the type you want to assign to the cell.
If you're removing the type, simply clear the contents of the field.
5. Click the Refresh button in the DITA Map view.
The cell type is reassigned and the new type appears in the Table Display area and in the
Row Display area.
If you have created a preconfigured row you may at some point want to change the cell's
collection-type to another valid value: "choice", for example. Or you may want to remove
the collection-type attribute altogether.
Or, if you have created an untyped row, you may want to restrict its display characteristics using
this attribute. Display characteristics, of course, will vary according to your XSL.
1. In the Table Display area, highlight the row that contains the cell whose type you want
to change.
The selected row's contents appear in the Row Display area.
2. Highlight the cell.
3. In the Properties view, click in the entry field for the collection-type attribute.
4. Enter the value you want to assign to the cell.
As of DITA 1.1, the valid values are:
• unordered
• sequence
• choice
• family
If you're removing the type, simply clear the contents of the field.
5. Click the Refresh button in the DITA Map view.
The cell collection-type is reassigned and the new type appears in the Table Display
area and in the Row Display area.
You may at some point want to change a topic goup's collection-type from one type – such
as "family" – to another valid value: "choice", for example. Or you may want to remove the
collection-type attribute altogether.
1. In the Table Display area, highlight the row that contains the group whose type you
want to change.
The selected row's contents appear in the Row Display area.
2. Highlight the group.
Creating links 227
3. In the Properties view, click in the entry field for the collection-type attribute.
4. Enter the value you want to assign to the cell.
As of DITA 1.1, the valid values are:
• unordered
• sequence
• choice
• family
If you're removing the type, simply clear the contents of the field.
5. Click the Refresh button in the DITA Map view.
The group's collection-type is reassigned and the new type appears in the Row Display
area.
Related Links
Reltable example five: creating sequences on page 242
Reltable example five: creating sequences on page 242
You have the option of setting up directional links between topics so that one topic can refer to
another, without having a link back in return (or vice versa).
You can set the linking properties of entire cells, of individual topics within cells, or for topic groups
within cells.
1. In the Row Display area of the Reltable Editing view, highlight the cell, topic, or topic
group.
2. You can set the linking direction in two ways:
• Right-click the cell, topic, or topic group and select Linking > <direction>, where
<direction> is one of the following:
• targetonly: The topic can only be linked to; it cannot make links to other topics.
• sourceonly: The topic can link to other topics; other topics cannot link to it.
• normal: The topic can link in both directions. This is the default value, and does not
have to be entered.
• none: A topic cannot link or be linked to.
• -dita-use-conref-target: In case of conrefs, indicates that the linking value
should be pulled in from the target.
• In the Properties view set the linking attribute to the required value.
The linking property of the object is set, and the appropriate link direction icons appear
next to the selected object.
Related Links
About linking direction in relationship tables on page 228
Reltable example four: linking direction on page 241
About linking direction in relationship tables on page 228
Reltable example four: linking direction on page 241
You have the option of setting up directional links between topics so that one topic can refer to
another, without having a link back in return (or vice versa). For example, you might want numerous
small related procedures to have access to a conceptual topic; but you might not want all of the
many little topics showing up as links inside the concept.
You can set the linking direction on topics, groups of topics, or on entire cells. Icons next to the
objects indicate the linking direction.
Creating links 229
• targetonly - the topic can only be linked to; it cannot make links to other topics. Indicated
by the following icon:
• sourceonly - the topic can link to other topics; but other topics cannot link to it. Indicated by
the following icon:
• none - a topic cannot link or be linked to. Indicated by the following icon:
• normal - the topic can link in both directions. This is the default value and does not have to
be entered. You can, however, use this value to override the attribute of a parent structure: if,
for example, you want just one topic within a topic group to link in both directions. Indicated
by the following icon:
In the screenshot below, both of the cells have the default linking: normal (bidirectional). So does
the topic group in the task cell, as a whole. However, one of the topics in the group – Vote on a
document – is designated as "sourceonly". None of the other members of the group or the concept
cell will be linked to it; but it will link to all the others.
The topic in the concept cell, on the other hand, has been designated "targetonly". All the other
cells in the row will link to it, but it will not be linked back to them.
Note: Your system must use UTF-16 character encoding with the East Asian language
pack installed, or the linking arrows will not display properly.
Related Links
Set linking direction on page 227
Set linking direction on page 227
If you highlight more than one topic, then the Relationship Outline view will first display the rows
where both topics appear together, followed by lists of the rows where each topic appears on its
own.
Note: This information is retrieved from the repository. If you've recently put a topic into
a reltable, you'll need to release the map before you can view the rows where it's being
used.
• In the DITA Map view, highlight the topic or topics you want to locate.
The Relationship Outline view displays the table(s) and row(s) where the topic(s) is used.
In the following example, you can see in the Relationship Outline view that the topic
"Assign documents to users" appears in the row "Document assignments" in a
reltable called "Projects".
In the next example, you can see that the topic "Set document due dates" appears
in two rows in the reltable called "Projects"; it also appears in one row of the reltable
"Tutorials".
Creating links 231
In the next example, two topics are selected in the DITA Map view. The Relationship
Outline view shows that the selected topics both appear in the "Document
assignments" row of the reltable called "Projects". It then list the rows and tables
where each topic appears on its own.
Related Links
The Reltable Editing Perspective on page 216
The Reltable Editing Perspective on page 216
232 DITA CMS User Guide for oXygen
• In the Filter field of the Relationship Table Editor, type in characters contained in the
names of the rows you want to locate.
The Table Display area shows rows where the string is used.
Note: The filter function examines all text in the reltable, including the tags. So if you
type in the string "ro", you'll see all the rows in the reltable, since they all begin with
the tag <relrow>.
The screenshot below show the results of entering "as" into the Filter field. The two
rows containing that string are displayed: "Document assignments" and "Assign
values".
The following screenshot shows the rows displayed when the string "va" is entered.
Creating links 233
Related Links
The Reltable Editing Perspective on page 216
The Reltable Editing Perspective on page 216
The Relationship Table editor is also open, with the “oil change” row highlighted. You can see
that each of the highlighted topics is in the row appropriate to its topic type:
The example uses the default linking – normal – as indicated by the decoration ( ). Normal
linking means that the links will be reciprocal: the task will refer to the concept and the concept
234 DITA CMS User Guide for oXygen
will refer to the task. And likewise for the task and reference topics. Each topic is linked to both
of the others.
You can see the output this produces in Example One: CRT row output.
Creating links 235
Related Links
Add a pre-configured row to a reltable on page 219
236 DITA CMS User Guide for oXygen
If you followed either of these two links, you’d see that these topics are each linked back to the
topic shown below.
Related Links
Add a pre-configured row to a reltable on page 219
Creating links 237
Reltable example two: links are between cells – not within cells
When you add topics to a relationship table cell, those topics link to the topics in the other cells
– not to each other.
For example, I could add another topic to the Concept cell in the reltable shown in Example One:
CRT row structure.
If we look at the output for the task topic (Figure "Task Topic Output"), we can see that the new
concept topic has been added as a link.
But if we look at either of the concept topics, we’ll see that there is no link between them (Figure
"Concept Topic Output"). The links are between topics in adjacent cells.
238 DITA CMS User Guide for oXygen
Related Links
Add a pre-configured row to a reltable on page 219
Add a pre-configured row to a reltable on page 219
In the Eclipse help output each topic shows up in the others’ Related Links as a Related Task
(Figure "Relcell Output").
240 DITA CMS User Guide for oXygen
Related Links
Insert a topic group into a reltable cell on page 223
Insert a topic group into a reltable cell on page 223
Creating links 241
In the example below (Figure: "Reltable Contents"), we can see how several localization tasks
– shown in the left-hand cell – are all given a related link to a single task (which deals with setting
up a place on your hard drive where files will automatically be saved).
In order to suppress related links pointing back from the Configuration topic to all the tasks in the
left-hand cell, we’ve set the linking direction on that topic to “targetonly” ( ).
You can look at the related links produced by this reltable row by visiting any of the topic links
below.
• Configure import and export directories (note that this topic has no links to any of the topics
in the left-hand cell)
• Import a localized map and its topics
• Import localized images
• Prepare an image localization kit
• Prepare the localization kit
It’s worth noting that the topics in the left hand cell will not be linked with each other. Links are
always between adjacent cells.
Related Links
Set linking direction on page 227
Set linking direction on page 227
242 DITA CMS User Guide for oXygen
In this example we’ll create the contents of the topic “Motoring Vacation Checklist” from the topics
indicated in the picture (below).
Creating links 243
1. Dragging the container topic (Motoring Vacation Checklist ) into a task-typed cell, and then
2. Dragging the component tasks in as children of that topic
Then we’ll set the collection-type of the container topic to sequence, using the Properties view.
244 DITA CMS User Guide for oXygen
The finished Motoring vacation checklist would appear in Eclipse Help as shown below. The topic
titles become the numbered steps. The <shortdesc> elements furnish the text below the steps.
Creating links 245
Related Links
Change the collection-type of a topic group on page 226
Insert a topic group into a reltable cell on page 223
Change the collection-type of a topic group on page 226
Insert a topic group into a reltable cell on page 223
DITA Best Practices recommend using cross-references sparingly since they break the principle
of creating "standalone topics". Cross-references, which are directly inserted into a topic, can
cause issues when attempting to reuse the topic in another map. Consider using a relationship
table to manage the links between the topics or organizing your table of contents to imply the
relationship between the topics.
To create a cross-reference:
246 DITA CMS User Guide for oXygen
• To insert a link to a web page, click Link > Web Link, and then type the URL or key.
• To insert a link to a file, click Link > File Reference, and then type the path to the file's
location or the key.
Use the following syntax for the URL depending of the type of external document:
Location Syntax
3. Click OK.
Related Links
Copy document reference on page 253
• When a user attempts to change a map's status: DITA CMS checks all the map's child
topics to ensure that the document objects referenced are located within the map.
• When a user attempts to delete a document object: DITA CMS checks to ensure that the
document object is not referenced within any active topic.
If DITA CMS finds an unresolved cross-reference, the attempted status change or deletion is
cancelled, and the user is presented with a Cannot delete or a Cannot change status window.
Follow the procedure below to resolve the cross-references.
3. Click OK.
The information for the selected cross-reference is displayed in the Search Results view.
4. Expand the Locator node to display the maps or topics that reference the document
object.
• If the cross-referenced topic is being deleted because it is inaccurate, remove the topic
from these maps and if applicable replace it with an updated topic. Release the affected
maps to update them, and re-attempt the status update or deletion.
• If the cross-referenced topic is still relevant for these maps, do nothing--the delete operation
would have been an error and has been avoided.
11 Referencing other files
Topics: DITA CMS offers utilities that let you easily make links
• Inserting images between documents. It also gives you the tools to keep track
• Create related links from of these links.
one topic to another
This set of topics describes the various linking methods that
• Create related links to
the DITA specification offers, including:
external files or web sites
• Copy document reference • How to make the various links between topics:
• Copy ID cross-references (inline links), related links, and
• Copy full path referable-content links (conrefs).
• Copy the element ID • How to make these links between files in the Content Store,
or files out on your hard drive or even with remote URLs.
• How to use links to put graphics into a text document.
• The utilities that you can use to make these links in a text
editor, as well as the other tasks these utilities facilitate.
• How to use the Dependencies view to visualize the
relationships between the various documents – the topics
and images that one topic refers to, for example, and the
maps that reference that topic in return.
Related Links
Referencing other files in the oXygen editor on page 294
250 DITA CMS User Guide for oXygen
Inserting images
These procedures describe how to insert images in a topic.
1. Open and lock the topic into which you want to insert an image.
2. Place the cursor where you want to insert the image.
3. Search for the image you want to use.
For example, you can perform a search to display it in the Search Results view.
4. Right-click the image, then select Oxygen Editor > Insert Image from the menu.
Related Links
Copy document reference on page 253
Create an image on page 278
Note: When you use this procedure, the images will not be part of your output. The
output will be created with links to the images. When you load your output onto the web
server, the content will link to external images in the location you specified.
The following table shows the location types accepted by the href attribute and their syntax.
Tip: Add a comment showing the image title just above the <image> tag, if the target
name isn't totally intuitive.
Related Links
Copy document reference on page 253
Create an image on page 278
5. Use Search to find the topic you want to reference in the Search Results view.
6. Right-click the topic, then select Copy > Reference from the menu.
7. Paste the reference between the quotation marks of the href attribute.
Your completed code should now look something like this:
<related-links>
<link href="dit1142280181031.xml"/>
</related-links>
Tip: Add a comment showing the topic title just above the <link> tag so that you
remember what the topic is actually about.
8. (Optional) Insert additional link tags as needed.
Related Links
Copy document reference on page 253
When you are linking to files you may use either absolute or relative pathnames. However, you
should keep in mind that setups vary in different machines.You can safely use relative pathnames
if you are sure that multiple documents will always be sent as a single package. However, if
there’s a chance that only a portion of the files will be sent, and that the target file isn’t among
them, then the link may become invalid.
The following table shows the location types accepted by the href attribute and their syntax.
Referencing other files 253
<related-links>
<link href="http://www.google.ca" scope="external"/>
</related-links>
Tip: Add a comment explaining the link just above the <link> tag, if the target name
isn't totally intuitive.
6. (Optional) Insert additional link tags as needed.
Related Links
Copy document reference on page 253
• Right-click the document and select Copy > Copy Reference from the menu.
Related Links
254 DITA CMS User Guide for oXygen
Copy ID
This procedure lets you copy a document's root ID.
Use Copy ID to copy a document's root ID to the clipboard. You can use this ID for searches.
In most cases the root ID is the file name without its file extension.
For example, a concept topic that has the following file name:
dit1143219004906.xml
You can see this ID in the first few lines of the XML, if you open the topic in a text editor,
e.g., <concept id="dit1143219004906">.
• Right-click the file and select Copy > Copy ID from the menu.
• Right-click the file and select Copy > Copy Full Path from the menu.
In the screen shot below, you can see a topic—"Locate a map, topic or resource"—on one side
of the DITA workspace. On the other side, you can see its relationships displayed in the
Dependencies view. You can see that it:
You can also see that it is cross-referenced by one file—including related links and xrefs—and
that no topics cross-reference it.
We've used the filter option to screen out the dependencies that weren't of interest. In a busy
documentation facility, topics can acquire dozens of references. Filtering lets you concentrate
on the references that are currently important.
If you double-click one of the related documents in the Dependencies view, then that document
will become the focus. For example, if you clicked any of the maps shown below, you'd see all
the topics that it referenced, and any maps, in turn, that it was part of.
Similarly, if you double-clicked the "New in this documentation release" topic, you'd be able to
see all its dependencies.
Viewing where documents are used 259
Related Links
Enable update of the Dependencies view on page 260
View a document's dependencies on page 259
Filter the Dependencies view on page 260
Export Dependencies as TSV on page 261
By default, the Dependencies view will be updated whenever you open a document. You can
disable this behavior by pinning a specific document in the view.
• In Text mode, right-click anywhere in the topic, then select View Dependencies
• Click the View Dependencies button in the toolbar
Related Links
About the Dependencies view on page 258
• In the Dependencies view, click the Pin Contents button ( ) so that it is unselected.
The Dependencies view will be updated when you open other documents. To disable
update of the Dependencies view, click the Pin Contents button again.
Related Links
About the Dependencies view on page 258
it might make the view less cluttered if you eliminated all the cross references from the
Dependencies view.
You can also simplify the view by filtering out categories that have no documents in them.
You can import the .tsv file you create into other programs, such as a spreadsheet.
About resources
Resources let you store non-DITA material (such as PDF files, legacy documentation, etc.) with
a documentation project.
When document deliverables are developed, you may have background or related material that
isn't part of the deliverable itself, but that you will want to store close to the related documents,
so that you can find it easily. For example, you might want to store the project schedule charts
you used with a particular documentation suite, or a list of map variables and the topics where
they are used.
Resources allow you to bundle similar items and store them in the repository. You can add the
resources to a map or to a project.
Resources are imported into the repository like images and topics. While you import a resource,
you can add keywords and other descriptive text that will help you find the resource when you
need to search for it.You can go back and edit this data later on using the Edit resource metadata
procedure.
Resources go through cycles and status changes just like other files.You can manage resources
in the same ways that you manage your topics and maps.
Related Links
Add a resource directly to a map on page 272
Edit resource metadata on page 268
Create a resource
This procedure adds a new resource to the repository.
Use this procedure to add a new resource to the repository. You can import a single file or a
folder. When you import a folder, all of its files and subfolders are imported and the folder structure
is kept in the resource object.
To create a resource:
• On the Document Creation toolbar, click the Create New Resource Object button ( ).
• From the menu bar, select DITA CMS > Create Resource.
Your selections are saved and used as the default values in the dialog. You'll see them the
next time you create a resource.
14. The next step depends on whether the Dynamic Release Management module is enabled
in your deployment:
• If you see the Next button at the bottom of the Show/Edit Resource dialog, this module
is enabled in your deployment. Go to the next step to specify the release management
details.
• Otherwise, this module is not enabled. Click OK to create the resource. You have
completed this procedure.
The primary version is the version for which the object was initially created.
20. (Optional) To save the settings you have selected for All Products, Selected Products,
Releases, Versions, and Apply to global exclusion filter settings, click the diskette icon
at the bottom of the dialog.
Your selections are saved and used as the default values in the Select Versions dialog. You'll
see them there the next time you create a resource.
21. Click Create.
The resource and all its constituent items are added to the repository.
Note: Any resource that you create is automatically assigned to you.
Working with resources 267
Tip: You can configure a default import directory where the Open dialog will go
automatically.
Related Links
Configure import and export directories on page 613
The resource and its additional item(s) are added to the repository, and all descriptive
information is saved.
Related Links
Configure import and export directories on page 613
268 DITA CMS User Guide for oXygen
The User Properties dialog is another way for you to enter indexable information about a
resource. The fields or selection lists that appear here are configurable and will vary according
to your setup.
6. Click OK.
The edited document replaces the previous document in the repository and all descriptive
information is saved.
Related Links
Associate editors with documents on page 606
270 DITA CMS User Guide for oXygen
Note: Soft links have no impact on the objects being linked, on the workflow, or on the
output. They simply provide logical linking information.
To create soft links, you manually create a dependency between the binary object and the DITA
object through the Dependencies view, as follows:
2. If soft links are not listed in the map's dependencies, click Show soft links ( ).
Two dependency categories are displayed:
The map will appear as an inward soft link in the Podcasts object's dependencies.
1. Open the Dependencies view for the DITA CMS object from which to remove the link.
For example, to remove the link from a DITA CMS map to a FrameMaker legacy documentation
object, open the Dependencies view for this map.
2. If soft links are not listed in the dependencies for this map, click Show soft links ( )
in the Dependencies view.
3. Expand the Outward Soft Links category, right-click the link to remove, and select
Remove from soft links.
The link is removed.
272 DITA CMS User Guide for oXygen
• @processing-role="resource-only"
For example:
<topicref href="lar1409844676342.res" keys="lar1409844676342" processing-role="resource-only"/>
Related Links
About resources on page 264
274 DITA CMS User Guide for oXygen
14 Images
Images
When it comes to Localization, you may even find that images need less management than
text-based files. Often a graphic will work equally well whatever language the surrounding text
may be. Instead of having to track these images through the initial portion of the Localization
cycle, you can flag them as not needing translation; then, when the map is put into the Localization
cycle, they'll automatically be promoted by the system into Localization:review (or its equivalent
in your workflow).
Images are imported into the repository and saved with the .image extension. While you are
importing your image, you can add keywords and other descriptive text that will help you find the
image when you need to search for it. You can go back and edit this data later on using the Edit
image metadata procedure.
Images can be referenced by more than one topic and referenced by topics in more than one
map. Image references are validated when the topic is released. An image cannot be deleted if
it is referenced by a topic.
Tip: To view all the places where an image is referenced, search using the image's ID.
For example, if you look at the XML code for a topic and see a reference to an image that
looks something like this:
You can use a line like the one below in Advanced Search to find all the topics that refer
to it. Use the Copy ID procedure to obtain the ID Value.
Related Links
Edit image metadata on page 284
Associate editors with documents on page 606
Import topics on page 417
Import images on page 405
Import multiple resolution images on page 409
Images 277
When you import multi-resolution images into the system, they are assigned a collective ID and
stored in a zip file with the extension .image. Then, when output is generated, the transformation
template inserts the appropriate image format wherever the image ID appears in your XML text.
The following diagram shows the different formats that can be set for an image:
The format names that you see will vary according to how your system is configured. When you
import multiple formats for an image, they are displayed in the Images pane as shown below:
A line with no image details (no Mime Type, Width, Height) means that there is no image in the
repository for that format. A line with image details means that an image with that format exists
in the repository. The details of an image can be displayed in the following colors:
• Green: The image was created and has not been released (shown above).
• Blue: The image was edited and has not been released.
• Grey: The image was released to the repository.
278 DITA CMS User Guide for oXygen
The default image format is displayed in bold. The default format is the one that is displayed if
the Output Generator cannot find the format specified in the transformation template. This is also
the image that displays in the Preview view.
Related Links
Create an image on page 278
Edit image metadata on page 284
Set the default image on page 283
Import topics on page 417
Import images on page 405
Import multiple resolution images on page 409
Import maps on page 412
Create an image
Use the Create Image command to add a totally new image to the repository. If you're simply
adding a new resolution of an existing image, you should use the Replace image procedure.
Once you've imported the first image, you can keep the dialog open and import several different
formats for use with different types of output.
Note: Any document that you create is automatically assigned to you.
• Press CTRL+ALT+I.
• On the Document Creation toolbar, click the Create Image button ( ).
• From the menu bar, select DITA CMS > Create Image.
By default, this check box is enabled for Screen Captures and Line Art. You can override the
defaults and select the value that's appropriate.
Note: If Needs Translation is not selected, then when the map is put into the
Localization cycle, the image will automatically be given the status Localization:review
(or its equivalent in your workflow).
6. Select a Language.
7. In the Images area, select a Format name.
Format names represent the different graphic formats or resolutions that your system uses
with different types of output. The format names that you see here will vary according to how
your system is configured.
A line with no image details (no Mime Type, Width, Height) means that there is no image in
the repository for that format.
8. Click Import.
The Open dialog appears.
9. Navigate to the required image, select it, and click Open.
Tip: You can configure a default import directory where the Open dialog will go
automatically by configuring the DITA CMS Import Export options in Preferences.
The Show/Edit Image dialog reappears. The Images area displays the new image's Mime
type, Width, and Height, and the image itself is previewed at the side.
10. Repeat the import process for the different formats.
Once an image has been imported into the repository for a specific format name, that line
displays in green to indicate that this is a new image. The default image is displayed in bold.
280 DITA CMS User Guide for oXygen
11. Select the image format that you want to use as the default and click Set as Default.
This is the image that will appear in the Preview view. It's also the image that will be substituted
if the Output Generator cannot find the format specified by a transformation template.
12. In the Labels pane, click Select to add labels.
The labels that you select are listed in the Labels pane.
13. (Optional) To save the settings you have selected for Language and Image Type, click
the diskette icon at the bottom of the dialog.
Your selections are saved and used as the default values in the Show/Edit Image dialog.
You'll see them there the next time you import an image.
14. The next step depends on whether the Dynamic Release Management module is enabled
in your deployment:
• If you see the Next button at the bottom of the Show/Edit Image dialog, this module is
enabled in your deployment. Go to the next step to specify the release management
details.
• Otherwise, this module is not enabled. Click OK to create the image.You have completed
this procedure.
The primary version is the version for which the object was initially created.
Images 281
20. (Optional) To save the settings you have selected for All Products, Selected Products,
Releases, Versions, and Apply to global exclusion filter settings, click the diskette icon
at the bottom of the dialog.
Your selections are saved and used as the default values in the Select Versions dialog. You'll
see them there the next time you create an image.
21. When you are finished importing, click OK.
All the imported images are assigned a collective ID and stored in a zip file with the
extension .image. When output is generated, the transformation template will insert the
correct format or the default format if there is no image with the required format.
Preview an image
The Preview view lets you view image file contents without opening the document.
When you are looking at the images listed in the Results List or other DITA CMS views, you may
find it convenient to quickly preview the images. The Preview view is refreshed whenever you
highlight an image item.
You can preview images wherever they are displayed in DITA CMS: Search Results, Todo List,
Dependencies view, etc.
To preview an image, right-click the image name from the view and select Show Preview. You
can also do the following:
3. (Optional) You can print out the contents of the Preview using its Print button.
A thumbnail is generated:
Once a thumbnail has been created, it is stored on the server and becomes available to all users
the next time their thumbnails are synchronized. Thumbnails are synchronized every 30 minutes.
Then the thumbnail hasn't been synchronized yet. It should be available in the next 30 minutes.
• In the required view, click the Turn off thumbnail display button ( ).
Images 283
Open an image
This procedure opens an image for viewing.
1. Use Search to display the image in the Search Results view.
2. Right-click the image and select Open from the menu, or double-click the image in the
list.
Tip: You can also open an image by double-clicking its name in the Todo List.
The image opens in the Show/Edit Image dialog.
• @format="image"
• @processing-role="resource-only"
For example:
<topicref format="image" href="per1389986115346.image" keys="per1389986115346"
processing-role="resource-only"/>
1. Use Search to find the image for which you want to set a default.
2. In the Search Results view, right-click the image and select Edit.
284 DITA CMS User Guide for oXygen
The Progress Information dialog will be displayed as the file is locked and the Show/Edit
Image dialog appears.
3. Select the Format name to set as default.
4. Click Set as Default.
5. Click OK.
6. In the Search Results view, right-click the image and select Release.
The selected image format will display wherever the image is referenced in the Preview
view, or if the format specified by the transformation template cannot be found.
Related Links
Image resolutions and formats on page 277
Replace an image on page 285
Replace an image
You can replace an image in the repository with another, and you can also add different formats
or resolutions of the same image for use with different output formats.
When you replace an image, the new image will be used by every topic where the image is
referenced.
Format names represent the different graphic formats or resolutions that your system uses
with different types of output. The format names that you see will vary according to how your
system is configured.
If there is an image in the repository for a specific format name, that line is displayed in dark
gray and details are provided about the image. A line with no details means that there is no
image in the repository for that format. The default image is displayed in bold.
4. Click Import.
The Open dialog appears.
5. Navigate to the required image, select it, and click Open.
The Confirm Overwrite dialog appears.
6. Click Yes.
The Show/Edit Image dialog reappears and the new image is displayed in green. The Image
area displays the new image's Mime type, Width, and Height, and the image itself is
previewed at the side.
286 DITA CMS User Guide for oXygen
7. Click OK.
8. In the Search Results view, right-click the image and select Release.
The new image replaces the old image in the repository. The new image will be used by
every topic where the image is referenced.
Related Links
Create an image on page 278
Edit image metadata on page 284
Set the default image on page 283
Export images on page 287
Edit an image
You can edit an image from within the DITA Perspective using your default editor.
Your image editor must be associated with the extension of the image type you intend to
edit.
The new image replaces the old image in the repository and all descriptive information is
saved. If you have edited the default image, the new image will appear in all existing
references.
Export images
You may want to export images to edit them locally and then reimport them into the DITA CMS.
This can be useful when you are working remotely, and the DITA CMS is installed on a server
that does not have the proper image editing tools. You can use the procedure below to export
images locally, update them using your preferred image editor, and then reimport the images in
the DITA CMS.
To export images:
5. Edit the images with your preferred editor. Make any change required, and then reimport
the files as described in Replace an image.
Related Links
Replace an image on page 285
288 DITA CMS User Guide for oXygen
15 Offline work
Offline work
Topics: This feature lets you keep working when you can't connect
• About the Offline to the Content Store.
Perspective
• Work offline
• Offline functionality
summary
• Refresh the Offline
Documents view
• Filter the Images view
• Return from the Offline
Perspective
290 DITA CMS User Guide for oXygen
Working offline lets you continue working when you don't have access to the repository - on an
airline flight, for example - and only release your files back to the server once you're connected
back to the network.
• The editor area is where your topics open, just as they do in the DITA Perspective. You can
use any editor that's installed on your machine and configured for use with Eclipse.
• The Offline Documents view lists the topics you locked before you went offline.You can open
and work with these in your editor of choice. You'll be able to copy their IDs and use them for
making cross-references and related-links.
• The Images view displays thumbnails of all the images in the repository. You'll be able to copy
their file names and IDs to use with the <image> tag, or for making cross-references and
related links. You won't, however, be able to modify them in any way.
• Small thumbnails - displays the image thumbnail as well as its system ID.
• Details - in addition to the thumbnail and ID, displays the image's CMS title, status, type
(Line art, for example), and all the text from the image's Description field. You'll be able to
filter the images that are displayed using any of this information.
Note: Image thumbnails must be synchronized in order for them to appear in the Offline
Perspective.
Work offline
This procedure opens the Offline Perspective.
Any documents you want to work on must be locked before you go offline.
Note: All topics listed in the Offline documents view are already locked. When you open
a topic it is ready to be edited.
You can search by a portion of the ID, or by the image title, or by any fragment of the text contained
in the image's Description field.
• From the menu bar, click Window > Open Perspective... > DITA.
Topics: The oXygen Editor offers you an intuitive interface for working
• oXygen quick reference with XML documents.
• Referencing other files in The oXygen Editor's working environment gives you many
the oXygen editor
powerful tools for working with XML documents. This includes
special views for working with attributes and elements, as
well as display modes that let you switch between WYSIWYG,
text and tag-enhanced displays.
294 DITA CMS User Guide for oXygen
If you have mapped any Windows CTRL+ALT shortcuts to use the key sequences shown here,
the Windows shortcuts take precedence.
The key mappings shown in this table are the default. Your system may be set up differently. If
you want, you can change key mappings through the Preferences dialog.
Lock a topic ALT+L In Text mode, right-click Locks the current topic in
then select Lock. the XML Editor.
Release a CTRL+ALT+SHF
IT+R In Text mode, right-click Releases the current topic
topic then select Release. in the XML Editor.
Related Links
Configure key mapping on page 608
Related Links
Referencing other files on page 249
DITA Best Practices recommend using cross-references sparingly since they break the principle
of creating "standalone topics". Cross-references, which are directly inserted into a topic, can
cause issues when attempting to reuse the topic in another map. Consider using a relationship
table to manage the links between the topics or organizing your table of contents to imply the
relationship between the topics.
To create a cross-reference:
where:
7. In the cross-reference element, type the text that you want to display.
For example:
<xref href="acb4321987654321.xml#acb4321987654321/firstbullet">This is the first bullet
point.</xref>
The following table shows the types of location accepted by the href attribute and their
syntax.
The related link element lets you put a series of links to related topics into the current topic.
The following table shows the types of location accepted by the href attribute and their
syntax.
Note: When you use this procedure, the images will not be part of your output. The
output will be created with links to the images. When you load your output onto the web
server, the content will link to external images in the location you specified.
The following table shows the types of location accepted by the href attribute and their
syntax.
Document assignments
The number of people that you can assign to a given document varies according to the role. For
example, there may be several Reviewers assigned to a topic, but there will typically be only one
Author. The Assignments dialog displays the maximum number of people that can be assigned
to the selected documents per role.
The Assignments dialog also contains filters that let you restrict the number of people who appear.
This feature is useful if you are working in a company with dozens of employees, and you need
to limit the choices that are presented. You can filter:
• By project - restricts the display to people that are on the team of a specific project.
• My projects only - further restricts the display to projects where you are on the team.
Note: Project coordinators are considered to be team members of any project they are
currently managing, whether or not they are actually listed in the project.
• By group - restricts the display to the selected group. Group names are configurable, and the
exact list will vary.
Note: Deactivated users who are still assigned to documents are identified in grey. Once
the document is reassigned to an active user, the deactivated user name will no longer
appear.
If any of the check boxes are selected, this means that some of the documents you selected
are already assigned to people.
Note: Role names are installation-specific.The diagram below shows the names used
at IXIASOFT Technology.
Document assignments 305
3. Expand each role to see the list of people who are available.
In the following diagram, the Reviewer role is expanded.
6. (Optional) Expand each person’s name to assign selected documents to that person.
In the following diagram, two reviewers have been assigned topics.
The people to whom you've assigned documents will see the document names in their
Todo Lists.
Related Links
User roles and timelines on page 47
4. Select and right click a document and then select Set Due Date from the menu.
You can select multiple documents under each role by holding down CTRL or SHIFT and
clicking the documents.
An interactive calendar appears. For example:
When these documents are assigned to specific people, the document names and their
due dates will appear in their Todo Lists.
Related Links
User roles and timelines on page 47
308 DITA CMS User Guide for oXygen
Use this procedure to set or change the approval system for the document by role or individual
user.
The list of approval systems and the default approval system (if any) for each role is set during
system configuration. Some roles do not require or allow for an approval system, so you cannot
set an approval system for those roles.
If the selected documents are part of a project, you cannot set a more stringent approval system
than what was set at the project level. If there is a conflict between user-set approval systems,
the more restrictive system always takes precedence.
4. Right-click a role and then select Set Approval System > systemname
where systemname specifies the approval system you want to use. Typical selections might
be Unanimous, Single Approval, or Simple Majority. The available selections are based
on your system configuration.
Tip: You can select multiple documents under each role by holding down CTRL or
SHIFT and clicking the documents.
Your selection appears in the Approval System column
5. (Optional) If you need to clear the approval system from a document or from a role,
right-click and then select Clear Approval System from the menu.
6. Set approval systems for each document or role, as required.
7. Click OK in the Assignments dialog when you're finished.
The assigned users will see the due dates next to the document names in their Todo Lists.
Related Links
User roles and timelines on page 47
310 DITA CMS User Guide for oXygen
The Todo List also lets you group your documents in different ways so that you can, for example,
quickly spot the documents that have the earliest due dates.
Note: If you are a project manager, your Todo List lets you view the document assignments
of all the people who are members of the projects that you manage. This lets you keep
tabs on how people are clearing their workloads, and perhaps do some strategic
reassignment of critical documents.
• Incoming
• Active
• Retained
• None - simply shows you an alphabetical list of all the documents you are responsible
for in any capacity.
• Page - groups your assignments by page.
Document assignments 311
• Role - groups your assignments according to the role you play in each: Editor or Author,
for example. Role names are configurable and may vary.
• Timeline - lets you group documents according to their position on your Timeline: Incoming
or Active, for example.
• Status - lets you group documents according to the status of the document. For example,
Authoring:work or Authoring:review.
• Due Date - groups documents by the date they are due.
• Object type - lets you group documents according to their type. For example, concept
or topic or task etc.
To view the comments, go to Todo list/jobs and then right-click RoleComments. The documents
and their comments will be displayed in the Todo list.
Note: The RoleComments displays all the comments assigned to a document, irrespective
of the configured roles. For example, if a document is assigned (with comments) to a
writer/author, and the same document is assigned (with different comments) to a reviewer,
the RoleComments will display both comments made on the document.
18 Document labels
Document labels
You can search for specific labels using the Advanced Search.
314 DITA CMS User Guide for oXygen
Your changes are saved, and will be available the next time you assign labels.
Document labels 315
Labels are grouped by category. The selections you see depend on your system's configuration.
Labels are indexed by the CMS; you can see the labels applied to a specific document when the
Labels column is displayed in the DITA Map view or Search Results. If a document has been
assigned more than one label then the different labels will all appear, separated by semicolons.
Note: You can also use the Assign Labels dialog to remove labels from documents.
You can search for labels using the Advanced Search feature.
7. Open other categories and labels as required until all documents are assigned the
appropriate labels.
8. Click OK.
The next time you search, you'll see that the labels have been removed from the documents.
Document labels 317
To manage document labels, you use the Configure Labels button ( ), available on the main
toolbar.
You can also manage labels on the fly, when you assign labels to documents using the Assign
Labels right-click menu option.
Note: This does not affect the labels on documents that are not open. These documents
will retain the original label.
Your changes are saved and will be available the next time you assign labels.
If you delete labels without removing them from documents, then the next time you select these
documents when you are assigning labels, you'll see a category called "Undefined Labels" at the
bottom of the Assign Labels dialog. You can remove the labels from the documents at this time.
• Delete Category
• Delete Label
The selected label or the category together with all its labels will disappear from the Configure
Labels dialog.
3. Click OK.
Your changes are saved and will be visible the next time you assign labels.
Your changes are saved and will be available the next time you assign labels.
320 DITA CMS User Guide for oXygen
19 Collaborative Reviewer
Collaborative Reviewer
A variety of annotation and markup tools are supplied: virtual sticky notes, highlights, and
underlines, even a set of proofreader's marks.
Several users can review a file at the same time. The annotations and markup are pushed onto
the server whenever the reviewer saves the file and become visible to other reviewers when they
re-open the file.
While a user is reviewing a file, the Collaborative Reviewer creates a temporary file for it on the
local disk. If the connection to the DITA CMS is lost before the review file is saved back to the
server, the temporary file preserves the changes until the connection is reestablished. When the
connection is reestablished and a temporary file is found for a user's assignment, the assignment
is marked as modified, the changes are restored to the review file, and then the user can save
the changes to DITA CMS.
Annotations view
Many of the annotations allow for additional comments to be attached. These reviewer comments
also appear in the Annotations view. Authors or Graphic Designers (or whoever is responsible
for the file) can revise these comments after the file is returned to them and respond to the
suggestions.
DITA CMS maintains successive copies of PDF review files, which may also be accessed from
the Annotations view.
Votes view
Reviewers who have been officially assigned to the file can vote on whether to accept or reject
it using the Votes view. This view also shows the approval system in effect for the current document
and how each of the reviewers has voted.
Collaborative Reviewer 323
Review content
You can annotate a PDF copy of a topic, map, or image.
The file must be in a reviewable state. The actual state depends on your workflow, but it
can be something like "review", "edit review", etc.
Several users can review a file at the same time. The annotations and markup are pushed onto
the server whenever the reviewer saves the file and become visible to other reviewers when they
refresh the current document or (if they're using the Web Reviewer) when they refresh the
Assignments table.
If your company is using XMetaL or Oxygen and change tracking is enabled, you'll see change
indicators in the PDF review file.
Note: There is no provision for conditional output in DITA CMS, as it's installed. All text
is output to the PDF, regardless of conditional attributes.
1. Right-click the file and select Collaborative Reviewer > Review from the menu.
You can select several files by holding down CTRL or SHIFT and clicking the files.
The review file opens in the PDF editor. The Annotations and Votes views also open.
324 DITA CMS User Guide for oXygen
2. Review the file using the annotation tools on the PDF editor's tool bar or the
proofreader's marks at the bottom of the editor.
If you draw a shape while you're reviewing and save without entering text, the review tool will
put a default comment ("No comment") into the Annotations view.
3. Save your comments as you would with any other file: for example, using the CTRL+S
shortcut.
Saving periodically while you review makes your comments visible to anyone else who is
concurrently reviewing the file.
After the file has been reviewed, assigned reviewers vote on whether to accept or reject
it. If it is accepted, the system promotes the file to the next state. If the file is rejected, the
system demotes it back to the previous state.
When new annotations to the current document are available on the server, you'll see an
exclamation mark in the Refresh button.
Your file can now be opened by other reviewers and by the person who revises the
annotations.
Vote on a document
This is how you vote to accept or reject a document that's in review.
• The file must be in a reviewable state. The actual state depends on your workflow, but it can
be something like "review", "edit review", etc.
• You must be one of the assigned reviewers.
When reviewers have finished annotating the PDF review copy, they may vote to accept or reject
it. Anyone who has a reviewing role can review and add comments to a document, but only the
reviewers assigned to a particular document can vote on it.
The approval system is set by the project coordinator when the file is assigned and may be
changed at any time until a vote has been cast. Once someone has voted on a document, the
system remains in place until the next time the document is reviewed.
326 DITA CMS User Guide for oXygen
Voting concludes whenever the criteria for the document's approval system are met. If voting
concludes on a particular file before you've reviewed it (for example, the approval system is a
simple majority, and three of your other five reviewers have already accepted the file) the vote
option won't be available.
If voting concludes while you have the file open, however, you can still make comments on the
PDF review file and save them. But once you save and close the file, you won't be able to access
it again.
To vote on a document:
1. Right-click the file and select Collaborative Reviewer > Review from the menu.
The review file opens in the PDF editor. The Annotations and Votes views also open.
2. In the Votes view, click the appropriate button:
• Accept or
• Reject
Note: If you have not made any annotations in the document, your only choice will
be Accept.
Your name and choice are displayed in the Votes view.
If the file is accepted, the system promotes it to the next state. If the file is rejected, the system
demotes it back to the previous state.
Revise annotations
You can view the comments that reviewers have left in a PDF reviewing copy and revise the
annotations as you work on the corresponding topics.
The file must be in the work state (or its equivalent in your workflow).
After content has been reviewed, the people responsible for its production – Authors or Graphic
Designers, for example – can revise the annotations as they work on the corresponding files.
1. Right-click the topic and select Collaborative Reviewer > Revise Annotations from the
menu.
You can select several documents by holding down CTRL or SHIFT and clicking the
documents.
Collaborative Reviewer 327
The review file opens in the PDF editor. The Annotations and Votes views also open. You
may want to open the corresponding XML file so that you can make the suggested changes
as you review the annotated version.
2. Right-click the annotation you want to revise and select a Resolution from the menu.
You can select several annotations by holding down CTRL or SHIFT and clicking the
annotations.
Note: If you select Declined, the Resolution Comment dialog will appear, and you
will need to enter an explanation for your action before you can continue.Your comment
will be displayed in the Annotations view.
When you've finished revising the annotations, the file will be in a reviewable state. The
actual state depends on your workflow, but it can be something like "review", "edit review",
etc.
Note: A new review copy is only generated if the XML file has been changed. If the XML
file has not been altered—all comments were resolved without any text changes, for
example—the PDF review file will not be regenerated. Only the Resolutions in the
Annotations view will be changed.
328 DITA CMS User Guide for oXygen
1. Use Search to display the topic, image or map in the Search Results view or scroll to
find a topic in the DITA Map.
2. Right-click the file and select either:
The review file opens in the PDF editor. The Annotations and Votes views also open.
3. In the Annotations view, click the arrow next to the Older versions button then select
the required date.
1. Right-click the file and select Collaborative Reviewer > Review from the menu.
The review file opens in the PDF editor.
3. Your signature will be added to the signature page for the document.
If you are the first person to sign, your signature will create the signature page.
There are a few that require a bit of explanation, however, and this section deals with them.
Others, however, are not operational. Mark with Checkmark and all of the options under Review
have no effect on the annotations you make in the PDF review file.
One option however – Flatten – will merge the markup symbol into the review file so that it can’t
be removed. It's a way of a producing a read-only annotation. Unfortunately, it also removes your
review comments from the Annotations view (or from the Comments Pane, if you're using the
Web Reviewer) so it's up to you whether it's worth the trade-off.
Modify annotations
This procedure modifies PDF review file comments.
Use this procedure if you want to modify the comments you've made in a PDF review file. You
can also change annotation properties such as Line Width, Transparency, Fill Color, etc.
Copy annotations
This procedure lets you copy the information displayed in the Annotations view.
You can copy one or several reviewer comments from the Annotations view and paste them into
other applications. The columns within each comment are tab-delimited for easy pasting into any
worksheet application.
1. Use Search to display the topic, image, or map in the Search Results view or scroll to
find a topic in the DITA Map.
2. Right-click the file and select either:
The review file opens in the PDF editor. The Annotations and Votes views also open.
3. In the Annotations view, right-click the annotation and select Copy Annotation.
Collaborative Reviewer 331
Tip: You can select several annotations by holding down CTRL or SHIFT and clicking
the annotations.
Delete annotations
This procedure deletes PDF review file annotations.
The annotation is removed from the PDF file and from the Annotations view.
Hide annotations
This procedure lets you select the annotations you want to display.
Whether you are reviewing a document or revising your reviewers' comments, you have the
option of hiding selected annotations. You can choose to hide specific comments or all of a
particular reviewer's comments (including your own).
332 DITA CMS User Guide for oXygen
1. Use Search to display the topic, image, or map in the Search Results view or scroll to
find a topic in the DITA Map.
2. Right-click the file and select either:
The review file opens in the PDF editor. The Annotations and Votes views also open.
3. In the Annotations view, deselect the comments you want to hide.
De-selecting the checkbox next to a reviewer's name hides all their comments. You can
display them all again simply by re-selecting the checkbox.
This annotation lets you insert an initial See-note ("See 1", for example) as the initial annotation.
You'll then insert the number "1" wherever the note applies.
Once you've inserted a See-note (such as "See 3"), you'll want to indicate the places in the text
where your comment applies.
334 DITA CMS User Guide for oXygen
The See-note number appears in the PDF file.You can resize and reposition it as you need.
336 DITA CMS User Guide for oXygen
20 Profiling and conditional
processing
Topics: Conditional attributes let you tailor the same document for
• About conditional attributes different audiences and products.
• About conditional topics DITA CMS supports the DITA attributes that let you hide
• Set conditional text portions of text—or even entire topics—that don't apply to a
attributes in the oXygen
specific audience or product. This lets you make
editor
• Preview a topic comparatively minor edits to a single document, instead of
• Using Ditaval files for producing multiple documents.
conditional processing
338 DITA CMS User Guide for oXygen
• audience
• product
• platform
• rev
• props
• otherprops
Almost all DITA elements support conditional attributes. If you're using a text editor, you can
simply enter them as you would enter any other attribute. DITA CMS records the attribute values
that you enter. These same values are presented as choices during output generation.
Once you have tagged topic elements with conditional attributes you can use the Preview view
to see how these elements will appear in your topic.
Related Links
Generate output on page 563
Preview a topic on page 206
• If the topic has any children, then the condition will apply to all its children as well. You don't
need to apply conditions to every topic in the sub-tree.
• If you conditionalize a topic, then every reference in the map file must be conditional as well.
Profiling and conditional processing 339
For example, if you've made a concept topic conditional for Linux, as shown below:
<concept id="per1245699224969" platform="Linux" xml:lang="eng">
then all the corresponding <topicref> statements in the map file must also be conditional
as well:
<topicref href="per1245699224969.xml" platform="Linux">
And you must do the same for every reltable reference to this topic, as well.
Note: It is considered good practice to use top level conditions on topicrefs instead of
the topic root element. If information needs to be kept concerning the audience or
product of the topic, using the prolog is the preferred method.
Fortunately, the CMS includes several utilities that give you a more intuitive interface for applying
these conditions and for identifying the objects to which they have been applied.
This functionality is available in DITA Map view and DITA Map Editor.
Note: If you need a condition that is not listed in the Set conditions dialog, contact
your CMS administrator. The procedure to configure conditions is described in the
DITA CMS Administrator's Guide.
3. Set the conditions that you want to apply and click OK.
1. In the DITA Map view or DITA Map Editor, click the Show Conditions button ( ).
The Show Conditions dialog appears.
2. Select the Show all conditions checkbox.
3. Click OK.
All the conditions that are currently applied to topics or relationship tables are highlighted
in yellow.
For example, the following diagram shows that two chapters have conditions in the map:
Profiling and conditional processing 341
To see which conditions are applied to each topic, hover your cursor over the topic.
342 DITA CMS User Guide for oXygen
To preview which topics are included in a map when conditions are set:
1. In the DITA Map view or DITA Map Editor, click the Show Conditions button ( ).
The Show Conditions dialog appears.
Note: If the Show all conditions checkbox is checked, uncheck it.
Profiling and conditional processing 343
The list of conditions used at the map level are displayed. For example, the following diagram
shows that the linux and windows Platform conditions are used in this map.
All the topics that would be excluded from the map are grayed out. For example, the
following diagram shows that one of the "Installing TEXTML Server" chapters would be
excluded from the map when the windows condition is selected:
344 DITA CMS User Guide for oXygen
1. In Author mode, select the text to which you want to apply a condition.
2. Right-click the text and select Edit Profiling Attributes.
The Edit Profiling Attributes window is displayed:
Profiling and conditional processing 345
Preview a topic
Use this procedure to see a WYSIWYG version of a topic.
When you select Show Preview for a topic, the Conditionals panel appears if your topic contains
conditional text. It shows the conditional attributes defined by the DITA specification, with check
boxes for each attribute value used in the current topic.
Here is an example of what a topic that contains conditional text looks like in the Preview window.
346 DITA CMS User Guide for oXygen
Use the check boxes to hide or display the portions of your topic that are tagged with these
attributes.
If you only have one condition in a topic, you’ll always see the conditional text displayed, whether
or not the corresponding check box is selected. If you really want to see what your topic looks
like without that single condition, create an alternate dummy condition and then select its check
box.
Note: The Preview view does not resolve conrefs or keyrefs, so you will not see that
content in the Preview. For example, if the conref is a <note>, you will see the “Note”
prefix because that comes from the display stylesheet, but you will not see the contents
of the note.
To preview a topic:
3. If you make changes to the topic in the XML editor, click the Preview pane Refresh
button ( ) or repeat one of the previous options to see your changes.
4. (Optional) If desired, click the Print button ( ) to print the contents of the Preview.
Related Links
About conditional attributes on page 338
You could create one Ditaval file for each combination that you need to generate. For example,
the following code shows the Ditaval file for generating the Administration Guide for Product A
on Linux:
<?xml version="1.0" encoding="UTF-8"?>
<val>
<prop action="exclude" att="audience" val="end_user"/>
<prop action="include" att="audience" val="sys_admin"/>
<prop action="include" att="platform" val="linux"/>
<prop action="exclude" att="platform" val="windows"/>
<prop action="include" att="product" val="Product A"/>
<prop action="exclude" att="product" val="Product B"/>
</val>
With the DITA CMS, you do not need to code the Ditaval file manually; you simply use the DITA
CMS Ditaval view to create the file. You then apply the Ditaval file that you need when you
generate the output for your maps. These procedures are described in the following topics.
Note: Before you create Ditavals, confirm with your DITA CMS administrator that they
are used by your transformation scenarios to generate output.
348 DITA CMS User Guide for oXygen
Note: This is the standard behavior of the DITA OT. It is not sufficient to simply specify
the conditions to include; you must also specify the conditions to exclude.
1. To open the Ditaval view, select Window > Show View > Other > Ditaval and click OK.
The Ditaval view appears.
2. Right-click the folder where to add the Ditaval file and select New Ditaval.
The Create Ditaval dialog appears. It lists all the conditions that were created for your
company. For example:
Profiling and conditional processing 349
Note: This dialog is customized per company. If the condition that you need to set in
your Ditaval is not available, ask your DITA CMS administrator to add it to the DITA
CMS configuration, as described in the DITA CMS Administrator's Guide.
3. Enter a title for this Ditaval file.
Note: This title is also used as the Ditaval file name. It must be unique.
4. (Optional) Enter a description.
5. To exclude a condition, click the check box for that condition and select exclude from
the Action list.
6. To include a condition, click the check box for that condition and select include from
the Action list.
This step is not necessary, since any condition not explicitly excluded is automatically included
in the output. However, for readability it is good practice to specify the conditions to include.
For example:
7. To include the content in the output and also retain the condition as part of the output,
click the check box for that condition and select passthrough from the Action list.
8. To include and mark the content in the output, click the check box for that condition
and select flag from the Action list. By default no formatting of the condition is applied.
350 DITA CMS User Guide for oXygen
Once the initial ditaval is created, you can edit the ditaval XML to add formatting
atrributes.
9. Click OK.
The new Ditaval file is created. You can now generate the output for a document using this
Ditaval file.
10. If you chose flag as an action for a condition, you can edit the ditaval to add the
formatting attributes.
a) Right-click the ditaval in the Ditaval view.
b) Click Edit Ditaval XML.
c) In the prop action="flag" element that you created, add and set the color,
backcolor, and style attributes as desired.
d) Once you have completed your changes, save the file.
e) Right-click the ditaval in the Ditaval view and click Release Ditaval XML.
Related Links
Generate output on page 563
Because no action value (include or exclude) is specified for the Product condition, the DITA OT
assumes that both the Product A and Product B conditions should be included during the
transformation.
Profiling and conditional processing 351
In previous releases of the DITA CMS, if you wanted to exclude some conditions, you had to
explicitly exclude each of them in the Create/Edit Ditaval dialog box. If your deployment includes
dozens of conditions, setting these values may take a long time.
The current release of the DITA CMS now lets you set a default include, exclude, or passthrough
action value for the conditions, as shown in the following diagram:
Using the sample dialog above, to generate documentation for Customer A on Windows for
Product 1, instead of explicitly excluding all the other conditions, you can now:
1. Check Default action and select exclude from the drop-down list.
2. Check the conditions for:
• Customer_A
• Windows
• Product_1
For example:
352 DITA CMS User Guide for oXygen
3. Click OK.
You can then drag and drop Ditaval files to the folders you created.
1. In the Ditaval view, right-click the folder where to create the new folder and select New
Ditaval Folder.
Select the Ditaval folder if there are no subfolders.
The New Ditaval Folder dialog appears.
2. Enter the name of the new folder and click OK.
Note: The folder name must be unique.
The new folder appears in the Ditaval view.
1. To open the Ditaval view, select Window > Show View > Other > Ditaval and click OK.
The Ditaval view appears.
2. Right-click a ditaval file and click Open Ditaval XML.
The ditaval opens in the XML editor area.
354 DITA CMS User Guide for oXygen
1. In the Ditaval view, right-click the file to edit and select Edit Ditaval XML.
A lock appears on the Ditaval file icon, indicating that you have checked out the file, as shown
below:
Note: If the Edit Ditaval XML option is greyed out, this means that the Ditaval file
was imported or created before this feature was implemented, and the file needs to
be converted to a new format. To solve this issue:
1. In the Ditaval view, right-click the file and select Edit Ditaval.
2. In the Title box, type a title for the ditaval.
3. Click OK (you don't have to modify the values).
4. The Edit Ditaval XML option is now available for the file.
The following diagram shows the conditions for the Product A System Admin Guide on
Linux Ditaval entry.
Related Links
Search for documents on page 89
Standard search operators and wildcards on page 118
• In the Ditaval view, right-click the file and select Copy Ditaval Reference.
21 Snapshots
Snapshots
When you create a snapshot for a map, the DITA CMS creates an .xml file that contains the list
of all the objects in the map (and sub-maps, if any) along with their current version numbers.
For example, consider the following map, which contains a topic and a sub-map:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//IXIA//DTD IXIA DITA Map//EN" "IxiaMap.dtd">
<bookmap id="lar1397749975458" xml:lang="en-us">
<title>Sample map</title>
<chapter href="lar1397750021477.xml"/>
<chapter format="ditamap" href="lar1401202413026.ditamap"/>
</bookmap>
The following code shows the contents of the snapshot file for this map. The snapshot includes
the objects referenced in the topic (in this case, an image and referable content) as well as the
objects in the sub-map (in this case, a task that also includes an image).
<snapshotref cms-status="Authoring:done"
href="../../authoring/lar1397750021477.xml"
navtitle="Topic 1"
rev="3"
type="concept">
<snapshotref cms-status="Authoring:done"
href="../../authoring/lar1397660192937.image"
navtitle="lock manager icon"
rev="1"
type="imagemeta"/>
<snapshotref cms-status="Authoring:done"
Snapshots 359
href="../../authoring/lar1398347925155.xml"
navtitle="Contact Technical Support"
rev="3"
type="referable-content"/>
</snapshotref>
<snapshotref cms-status="Authoring:open"
href="../../authoring/kiy1441205259960.ditamap"
navtitle="4.1.7"
rev="2"
type="container">
<snapshotref cms-status="Authoring:open"
href="../../authoring/klc1441205337071.ditamap"
navtitle="4.1.7 {0001}"
rev="5"
type="containerpart"/>
</snapshotref>
For each object in the map—that is, the map itself as well as all the objects that it contains: topics,
images, referable content, sub-maps (and their contents), etc.—the following information is kept:
This information allows the DITA CMS to recreate the map exactly as it was when the snapshot
was created. As with any DITA CMS object, you can search for a snapshot in the Content Store.
You can also output a snapshot, branch it, or publish it.
Important note
To create the snapshot, the DITA CMS uses the latest released revisions of the objects in the
map. Therefore, if you have locked documents in your map, the snapshot will not include these
locked revisions but rather the latest released revisions of these objects.
In previous releases of the DITA CMS, if you wanted to keep track of the different versions of a
map, you had to publish the map. For example, if you wanted to be able to go back to all the
versions of all the maps that you delivered to your end users, you had to publish the maps at
each milestone. There are two main issues with publishing maps:
Snapshots 361
• You need to bring the map and its objects to the final state of the Authoring cycle (for example,
Authoring:done). This can be quite time-consuming for large maps.
• When you publish a map, the DITA CMS makes a copy of the map and all its objects and
stores them in the Content Store, so the size of the database keeps growing even if the volume
of source content is stable.
Creating a snapshot does not create copies of the map and its objects. It's simply a text file that
lists the map's contents at a specific point in time, so creating a snapshot has virtually no impact
on the Content Store. Another advantage of snapshots is that you can create a snapshot from a
map that is in any state, as long as the map is not locked.
• Create a branch from a snapshot: Let's say that your team is still working on the
documentation for Version 10 of your product, but you need to start working on Version 11.
You can simply create a snapshot of the Version 10 documentation and then create a branch
from the snapshot. Since you can create the snapshot of a map from any state, the Version
10 documentation can remain in the Authoring:work status.
• Generate the output of a snapshot: At any time you can see the content of a snapshot by
generating its output. When you generate the output of a snapshot, the Output Generator
retrieves from the Content Store the versions of the map and its objects as specified by the
snapshot. New files are not created.
• Keep a historical record of all your documentation releases: Every time that you release
your documentation or at important milestones, you can make a snapshot of your map. This
ensures that you can see the content of a specific release at any time by generating its output
or return to it by branching the snapshot.
Note: While you cannot localize a snapshot directly, you can publish a snapshot and then
localize the published version.
Create a snapshot
When you create a snapshot, the DITA CMS creates an .xml file that contains the list of all the
objects in the map along with their version numbers.
Requirements
The map must not be locked, but the objects in the maps may be locked. When you create a
snapshot, the map and its objects can be in any state.
Important note
362 DITA CMS User Guide for oXygen
To create the snapshot, the DITA CMS uses the latest released revisions of the objects in the
map. Therefore, if you have locked documents in your map, the snapshot will not include these
locked revisions but rather the latest released revisions of these objects.
In the default configuration, when you create a snapshot, the snapshot object is in the
Authoring:review status (or the equivalent in your deployment).
You can create a snapshot from any view that lists the map (Search Results, DITA Map,
Dependencies, etc.).
1. In a view that lists the map, right-click the map and select Create snapshot.
The Create Snapshot window appears:
By default, the title of the map is used as the title of the snapshot.
2. If desired, modify the snapshot title in the Title field.
This might be useful to differentiate the snapshots for a map. For example, to indicate that a
snapshot identifies the version of the Web Author Installation Guide that was sent for technical
review, you could enter "Web Author Installation Guide - Tech Review".
3. In the Version field, specify the version for this snapshot.
If a branch is created from the snapshot, the branched map will automatically be assigned
the version of the snapshot.
Note: The version specified is the version of the snapshot and is not related to the product
version.
4. Click OK.
The snapshot is created. As with any DITA CMS object, you can search for a snapshot in the
Content Store. You can also output a snapshot, branch it, or publish it.
Snapshots 363
You can generate the output of your snapshot in any format supported by the Output Generator.
Branch a snapshot
When you branch a snapshot, the DITA CMS first publishes the snapshot and then creates a
branch from it. New, editable versions of the map and its objects are created in the Authoring
cycle and given the status Authoring:work (or its equivalent in your workflow).
Note: The snapshot must be in the Authoring:done status (or as configured for your
deployment) before you can branch it.
To branch a snapshot:
Publish a snapshot
When you publish a snapshot, the DITA CMS creates copies of the snapshot map and its objects
and puts them to the Publish:done status (or as configured for your deployment).
Note: The snapshot must be in the Authoring:done status (or as configured for your
deployment) before you can publish it.
To publish a snapshot:
Branching
About branching
When you branch a map and its components, the system creates new copies of all these
documents and automatically takes care of external references.
When a published map is branched, a copy of the map is created in the Authoring cycle and
given the status Authoring:work (or its equivalent in your workflow). Initially, the new map is
identical to the published map. The new map references the same published content as the
original map. The sub-maps, topics, and other content in the map remain in the published cycle.
If you want to modify the content of any of the documents within the branched map, you will have
to branch them as well. This includes all sub-maps and their children.
Once you have branched a map, you can branch the documents it contains (topics, sub-maps,
images, conrefs, etc.).
When a document is branched, a copy of the originally published document is created in the
Authoring cycle. This new document, with its own unique ID, can be edited in the same manner
as any other document in the Authoring cycle, without affecting the original published version of
the document.
When you branch a document, the system automatically finds all topics and maps within the
branched map that reference the document and updates their references. If any topics or maps
containing a reference to the branched document are still in the Published cycle, then they are
automatically branched as well.
This does not affect documents from outside a branched map’s hierarchy. Such topics or maps
are left unchanged, and will continue to reference the original published version of the document.
You cannot branch a document unless it's in a state that permits branching, For example, if you
try to branch a document and the documents that reference it are locked by another user, then
the document cannot be branched. You'll have to wait until the documents are released in order
to proceed with the branching.
(In previous releases, a new copy of the topic was created every time a topic was branched, even
if the same topic was reused in multiple maps within the same branch).
For example, consider two maps, Map1 and Map2, which reference the same topic (Topic1).
Both Map1 and Map2 are branched using the tag Branch1. When Topic1 is branched in Map1,
a new version of Topic1 is created in Authoring, and the branched Map1 references this new
version. The branched Map2 still references the Topic1 in Published. When Topic1 is branched
in Map2, then both Map1 and Map2 reference the same branched topic in Authoring.
Branching indicators
The graphics that appear in branched maps help you keep track of the documents that have
changed.
When you create a new branch you are prompted for a tag, which the system applies to the new
map. As you branch the topics and sub-maps within this root map, they are also given this tag.
You can see branch tags wherever documents are displayed: Search Results, Todo List, etc
As you work on a branched map – changing the contents of topics, or adding new documents to
the map – you’ll notice asterisks in the Title column, whenever the map is open in the DITA map
view.This lets you quickly identify the documents that differ from their counterparts in the Authoring
cycle.
If at some point you merge the topics (or the entire map) back into the original version, then these
asterisks will be removed – if the merge is successful. However, if the original documents in the
Authoring cycle have changed, the system will not perform the merge. In this case the asterisks
will turn red, to alert you to this fact. You can remove the “needs merging” mark at a later date,
after you’ve merged the documents yourself.
370 DITA CMS User Guide for oXygen
When you create a new branch, the system creates a new version of a published map that you
can modify as you like. When a published map is branched, a copy of the map is created in the
Authoring cycle and given the status Authoring:work. This is the root map.
During the branching process you'll be prompted to enter a tag, which will be applied to the root
map and to all the documents which are subsequently branched within it, such as topics, images,
sub-maps, etc. You can use this tag to search the repository for all documents belonging to a
specific branch.
You can branch a map from Search view, your Todo List, or any other view where you can see
a map.
1. Right-click the map and select Branch > Create New Branch.
The Branch Map dialog appears.
2. (Optional) In the Tag field, enter an identifier for the branch you are creating.
The default tag is the version label of the published map. You can replace or modify this tag,
if you want.
3. Click OK.
Branching 371
The Progress Information dialog tells you that the map is being branched.
A copy of the published map with its own unique ID is created in the Authoring cycle, and
this new map opens in the DITA Map view. You'll see the tag that you assigned in the Title
column.
All documents that you want to modify in the map must now be branched.
Branch sub-map(s)
Once you have branched a parent (root) map, you can branch the subordinate maps that it
contains.
• The root map must be open in the DITA Map view.
• All referring documents must be in a state that allows them to be branched.
Use this procedure when you want to branch a map that's inside another map that you've already
branched. This option does not create a new branch; it branches the sub-map as a subordinate
document of the root map. A copy of the map file is created in the Authoring cycle and given the
tag of the root map.
A branched sub-map has the status Authoring:work (or its equivalent in your workflow).
You do not need to explicitly branch a sub-map if you branch any of the topics it contains, because
that action will cause the sub-map to be branched automatically. Otherwise, you must manually
select all the sub-maps you want to branch. If the map contains multiple levels of nested sub-maps,
you must open each map level to see and select all the sub-maps if you want to branch them.
You can also branch sub-maps, together with other topics within a map using the Branch
Documents option.
To branch a map:
• In the DITA Map view, right-click the sub-map and select Branch > Branch Map.
The Progress Information dialog tells you that the map is being branched.
A copy of the sub-map is created in the Authoring cycle and assigned the appropriate
status. A branched sub-map automatically receives the same tag as the parent map.
Branch topic(s)
Use this option to branch one or more topics within a branched map.
• The root map must be open in the DITA Map view.
372 DITA CMS User Guide for oXygen
• All referring documents must be in a state that allows them also to be branched.
Once you have branched a map, you can go on to branch the topics that it contains. When you
branch a topic the system creates a new, editable version in the Authoring cycle and gives it the
status Authoring:work (or its equivalent in your workflow).
Note: If the topic is referenced by multiple maps in the same branch (that is, the maps
have the same branch tag), and the topic has already been branched in another map,
then a new copy of the topic is not created. Instead, the map will be updated to reference
the branched version of the topic. This ensures that a topic that was reused by multiple
maps before the branching operation continues to be reused by the maps within a branch.
During the branch operation, the system attempts to update all references within the map (xrefs,
rel-links, conrefs, etc.) to refer to the new copy of the topic. This requires that all the documents
that contain these references be branched as well. In addition, the system provides you with the
option of updating any other branched map that contains the topic with the new branched version.
If any of these referring topics is in a state that prevents its references from being updated – if a
topic is locked by another user, for example – then you'll get an error message, listing the maps
and topics that prevented the branch operation from being performed.
1. In the DITA Map view, right-click the topic(s) and select the applicable option:
You can select several documents by holding down CTRL or SHIFT and clicking the
documents.
If branching this document requires that other documents also be branched, the Branch
Documents dialog appears. It displays a list of the documents that will be affected by this
change and asks if you want to continue.
2. Click OK.
A copy of the published topic(s) is created in the Authoring cycle and assigned the
appropriate status. All branched topics automatically receive the same tag as the parent
map.
Branch documents
This option gives you a convenient method for branching several types of documents within a
root map simultaneously: topics and sub-maps together.
• The root map must be open in the DITA Map view.
Branching 373
Once you have branched a map, you can go on to branch the documents that it contains. When
you branch a topic the system creates a new, editable version in the Authoring cycle and gives
it the status Authoring:work (or its equivalent in your workflow). Sub-maps are given the status
Authoring:work (or its equivalent in your workflow).
During the branch operation, the system attempts to update all references within the map (xrefs,
rel-links, conrefs, etc.) to refer to the new copy of the document. This requires that all the
documents that contain these references be branched as well.
If any of these referring maps or topics is in a state that prevents its references from being updated
– if a topic is locked by another user, for example – then you'll get an error message, listing the
documents that prevented the branch operation from being performed.
1. In the DITA Map view, right-click the document(s) and select Branch > Branch
Documents.
You can select several documents by holding down CTRL or SHIFT and clicking the
documents.
If branching this document requires that other documents also be branched, the Branch
Documents dialog appears. It displays a list of the documents that will be affected by this
change and asks if you want to continue.
2. Click OK.
A copy of the published document (or documents) is created in the Authoring cycle and
assigned the appropriate status. All branched documents automatically receive the same
tag as the parent map.
Branch images
After you have branched a topic, you can go on to branch the images it contains.
• The root map must be open in the DITA Map view.
• All documents referring to the image must be in a state that allows them to be branched.
• One parent topic containing the image must already have been branched.
When you branch an image the system creates a new, editable version in the Authoring cycle
and gives it the status Authoring:work (or its equivalent in your workflow).
1. In the DITA Map view, right-click the branched parent topic and select Branch > Branch
Referenced Images.
374 DITA CMS User Guide for oXygen
You can select several topics by holding down CTRL or SHIFT and clicking the topics.
The Branch Images dialog displays a list of the selected topic(s) and the images they contain.
A copy of the published image (or images) is created in the Authoring cycle and assigned
Authoring:work status (or its equivalent in your workflow). All topics that contain that
image will be branched as well.
All branched images automatically receive the same tag as the parent map.
Branch conrefs
After you have branched a topic, you can choose to branch the conrefs used by that topic.
• The root map must be open in the DITA Map view.
• All documents referring to the conref must be in a state that allows them to be branched.
• One parent topic containing the conref must already have been branched.
When you branch a conref the system creates a new, editable version in the Authoring cycle and
gives it the status Authoring:work (or its equivalent in your workflow).
1. In the DITA Map view, right-click the branched parent topic and select Branch > Branch
Conrefs.
Branching 375
You can select several topics by holding down CTRL or SHIFT and clicking the topics.
If branching this conref requires that other documents also be branched, the Branch
Documents dialog appears. It displays a list of the documents that will be affected by this
change and asks if you want to continue.
2. Click OK.
A copy of the published conref(s) is created in the Authoring cycle and assigned
Authoring:work status (or its equivalent in your workflow). All topics that contain that
conref will be branched as well.
All branched conrefs automatically receive the same tag as the parent map.
Branch resources
After you have branched a topic, you can go on to branch the resources it references.
• The root map must be open in the DITA Map view.
• All documents referring to the resource must be in a state that allows them to be branched.
• One parent topic containing the resource must already have been branched.
When you branch a resource the system creates a new, editable version in the Authoring cycle
and gives it the status Authoring:work (or its equivalent in your workflow).
1. In the DITA Map view, right-click the parent topic and select Branch > Branch Referenced
Resources.
You can select several topics by holding down CTRL or SHIFT and clicking the documents.
The Branch Resources dialog displays a list of the selected topic(s) and the resources they
contain.
2. Select any or all of the resources.
3. Click OK.
If branching this resource requires that other documents also be branched, the Branch
Documents dialog appears. It displays a list of the documents that will be affected by this
change and asks if you want to continue.
4. Click OK.
A copy of the published resource (or resources) is created in the Authoring cycle and
assigned Authoring:work status (or its equivalent in your workflow). All topics that contain
that resource will be branched as well. All branched resources automatically receive the
same tag as the parent map.
376 DITA CMS User Guide for oXygen
When you're working with a branched map, you have the option of returning any of its branched
components to its counterpart in the original published version. When you do this, all references
(xrefs, related links, etc.) within the map are automatically updated to refer to the original document.
Any images and resources that these documents may reference are also reverted.
If the system contains no other references to the document that you're reverting then you are
offered the option of deleting the branched version.
Tip: If you want to review the differences between two documents before you revert them,
use the Compare With Published Source utility.
1. In the DITA Map view, right-click the document(s) and select Branch > Revert to
Published.
You can select several documents by holding down CTRL or SHIFT and clicking the
documents.
The Branch Documents dialog displays a list of the documents that will be affected by this
change and asks if you want to continue.
2. Click OK.
The branched map now refers to the published version of the document (or documents).
After you've added some topics to a branched map for a while, you may decide that you want to
use it as the main line of documentation, instead of the original map. Or you may decide that you
want to replace some of the original topics with their branched counterparts.
Branching 377
The merge function lets you replace the contents of original documents in the Authoring cycle
with the contents of the branched map. All the demoting, locking, and copying is done automatically
by the system.
You can merge individual topics, which replaces the text in just these topics. Or you can merge
the entire map, which replaces the map file itself as well as the topics that have been changed;
all the images and resources that these topics reference will also be merged.
You cannot, however, merge a document if the corresponding document in the Authoring cycle
has been changed. In this case you'll need to perform the merge manually, i.e., lock the document
yourself, and paste in the changed text.
Tip: If you want to review the differences between two documents before you merge
them, use the Compare With Authoring Source utility.
1. In the DITA Map view, right-click the document(s) you want to merge and select Branch >
Merge With Authoring.
You can select several documents by holding down CTRL or SHIFT and clicking the
documents.
The Progress Information dialog tells you that the document(s) are being merged.
If any corresponding documents in the Authoring cycle have been changed, the Branch
Documents dialog will appear and display them. You will need to merge these documents
yourself, if you want, at a later date.
2. Click OK.
The asterisks that indicate a changed document disappear from the documents that are
successfully merged.
The content of the branched document(s) has now replaced the contents of the original
document(s) in the Authoring cycle, where possible. Replaced topics now are at
Authoring:work (or its equivalent in your workflow); replaced images will go to
Authoring:work (or its equivalent in your workflow) and the map (and any sub-maps) will
receive the status Authoring:work (or its equivalent in your workflow).
If the documents could not be merged – if the corresponding documents in Authoring had already
changed in some way – then the asterisks that indicate a changed document will turn red. You
can use the Mark As Merged feature to remove these, if you want.
378 DITA CMS User Guide for oXygen
Mark as merged
This option lets you manually remove the "needs merging" asterisks from documents that you
have merged by hand.
The root map must be open in the DITA Map view.
When you attempt to merge a branched document back into a document that has changed,
the system puts a red asterisk next to its title. This lets you know that the merge was
unsuccessful, and that if you want to merge the text you'll have to do it yourself.
After you've performed the merge yourself, you can use this procedure to remove the red asterisks.
To mark as merged:
• In the DITA Map view, right-click the document(s) and select Branch > Mark As Merged.
You can select several documents by holding down CTRL or SHIFT and clicking the
documents.
The Progress Information dialog tells you that the document(s) are being marked.
Topics: The DITA CMS provides multiple features that allow you to
• Conref and keyref best easily reuse content.
practices
• Creating and using conrefs
• Keyrefs and keydefs
380 DITA CMS User Guide for oXygen
When creating reusable components and maps, IXIASOFT recommends that you follow these
best practices.
• Always use the referable-content topic type to store your reusable components. Otherwise,
they will not be searchable with the Referable-Content view.
• Ideally, keep each reusable component as small as possible and store them in a separate
referable-content topic. While this is not mandatory, it allows for a better organization of the
reusable components and will have less impact on your work flow. For example, if you plan
to reuse error messages, keep each error message in its own topic. This ensures that if you
need to update a single message, only the topics that refer to this message will be impacted
in your work flow (as opposed to storing all messages in a single topic, which would cause all
the objects that reference any error message in the topic to be impacted).
• Assign IDs to each referable piece of content. IDs should follow a pre-defined naming convention
for ease of use and standardization.You can also use the IDs that are automatically generated
when you release the referable-content topic. See the DITA CMS Administrator's Guide for
more information about configuring the DITA CMS to automatically generate IDs.
• Label your reusable components so that you can also find them using the Advanced Search.
Note: For small phrases such as product names or standard filepaths, IXIASOFT
recommends that you use keys instead of reusable components.
• By logical group: Create a map for error messages, a map for warnings, a map for labels,
etc.
• By product: Create a map for product A, a map for product B, etc.
Using conrefs and keyrefs 381
• You could also build a map from all reusable objects that share the same label.
About keys
Several ways are available for adding keys to maps; however, you may want to establish a list
of variables for use by the entire team rather than have each user define their own. To provide
this list of common or corporately-approved variables, the DITA CMS Administrator can configure
a list in the Content Store which can be made available for selection in the DITA Map view.
DITA CMS provides a topic specialization—the referable-content topic type—that you can use
to store the text you plan to use in multiple topics. In DITA CMS, a reusable component is an
element that is within the <rcbody> element and has an id attribute.
For example, to reuse the Kerberos prerequisites paragraph in other topics, you create a conref
to this paragraph in the target topic, as shown below:
<note conref="per1389985725819.xml#per1389985725819/kerberos_prerequisites"/>
To easily find reusable components and insert conrefs to them into other topics, the DITA CMS
now provides the Referable-Content view.
382 DITA CMS User Guide for oXygen
Once you have created reusable content components, you use the Referable-Content view to
search for these components and reuse them in other topics.
The following diagram shows an example of the Referable-Content view after a search:
The Referable-Content view provides the following information about the reusable components:
This information can help you select the component to reuse in your document. You can restrict
your search using the following criteria:
• Element type: This drop-down list displays all the elements for which a reusable component
is defined.You can search inside a specific element type or select All element types to search
inside all element types.
• Containing library: This drop-down list displays all the referable-component-library maps
found in the Content Store. You can search inside a specific map or select All libraries to
search inside all the maps.
Once you have found the text that you want to reuse, you can easily insert it into the target topic
using the Referable-Content view.
Referable-content topics are created like any other topic. Simply select the specialized template
(referable-content.xml) when you create a topic.
For example, you might use the string "kerberos_prerequisites", which would give you the
following code:
<note id="kerberos_prerequisites">To use Kerberos authentication, the
client application and TEXTML Server must be running on Windows. Linux is not
supported.
</note>
Note: The DITA CMS will automatically insert an ID to any element that is a direct
child of <rcbody> when you release the topic. If you prefer, you can use these
automatic IDs instead of inserting your own.
6. Save and release the referable-content topic.
7. Add the topic to a referable component library map.
You can now use the Referable-Content view to search for the reusable content and add it to
your topics.
384 DITA CMS User Guide for oXygen
Note: The DITA CMS provides a referable_component_library template that you can use
to create your referable component library maps. But you can also use any other type of
map, as long as you add the following element in the map:
<data name="referable_component_library"/>
• Press CTRL+ALT+M.
The Create Map dialog appears. The ID field displays the system-assigned ID.
2. Enter a title in the Map Title field.
3. In the Map template area, select referable_component_library.ditamap.
4. Specify the other options as required and click Create.
5. Add your referable-content topics to the map.
1. To display the Referable-Content view, from the menu bar select Window > Show View >
Other.
The Show View window is displayed.
2. Expand DITA CMS - General, select Referable-Content, and click OK.
The Referable-Content view is displayed.
3. In the Search area, enter a search string.
You can use the standard Search wildcards to refine your search. If you don't enter a search
string, all available reusable components are returned.
4. To search within a specific element type, click the element types drop-down list and
select an element type.
This list displays the element types for which referable content is currently defined. To search
all element types, select All element types.
5. To search within a specific referable content map, click the libraries drop-down list
and select a map.
This list displays all the referable_component_library maps. These are the maps that contain
the <data name="referable_component_library"/> element. To search within all
referable_component_library maps, select All libraries.
6. Click Search.
The referable components that match the search criteria are listed in the search results area.
The search results area displays 20 results at a time. Use the page buttons to navigate through
your results if there are more than 20 results.
Tip: If you assigned labels to your reusable components, you can also use the Advanced
Search panel to search for reusable components with a specific label.
1. Open the topic where you want to reuse text in your XML editor.
2. Place your cursor where you want to add the reusable component.
386 DITA CMS User Guide for oXygen
Make sure that your cursor is in a valid position for the type of element you want to insert.
For example, you cannot add a reusable component of type <step> in a topic of type concept.
3. Use the Referable-Content view to search for the component to reuse.
4. In the search results, right-click the reusable text and select oXygen Edit > Insert as
conref.
The reusable text is included in the document.
5. Save your target file.
The link to the target topic is made with the keyref attribute, instead of an href.
The target of this link is established in the map file by inserting the keys attribute into the
appropriate topic reference. You can see an example below.
Alternatively, you can use a <keydef> element. This allows you, among other things, to make
reference to topics outside the scope of the current map, without making them visible in the
navigation markup or generating CMS error messages during status changes.
<keydef href="dit1142432953484.xml" keys="locale"/>
You can find many concrete example of other uses for keyrefs and keydefs in the feature article
produced by the OASIS DITA Adoption Committee, available at the following URL:
Using conrefs and keyrefs 387
http://dita.xml.org/resource/keyref-overview-dita-12
Icon Description
Unresolved keyref.
If you have made extensive use of keyref linking in your documentation project, it may become
difficult to keep track of the references.
DITA CMS offers a Resolve Keyrefs feature that detects all unresolved keyrefs in your document
deliverable (the map and its topics) and generates syntactically correct keydef statements to
define the corresponding keys.
The system also compares these keys to the file names of existing topics in the repository. For
those where there is a match, the CMS will automatically insert href attributes that link the keys
to the appropriate topics.
1. In DITA Map view or DITA Map Editor, click the Resolve Keyrefs button ( ).
If there are any unresolved keyrefs, the Add all undefined keys dialog appears.
• The Keyref Target Found panel - shows keyrefs that could be resolved by topics in the
Content Store.
• The Undefined Keyref panel - shows keyrefs that will need to be resolved manually.
2. Use the and buttons to move topics between the two panels.
388 DITA CMS User Guide for oXygen
• Use the button to move any of the entries in the Keyref target found panel into the
right-hand panel for manual resolution, if you'd rather use targets other than those that the
CMS automatically generates.
• Use the button if you change your mind and want to move these topics back into
the left-hand panel.
Note: You cannot move an entry from the Undefined Keyref panel unless its keyref
corresponds to the file name of a topic in the repository.
3. Click OK.
The system will write the appropriate <keydef> statements into the map file.
You will need to edit the keydef statements that were generated for the undefined keyrefs,
in order to resolve them.
The left-hand panel (Keyref Target Found) shows that there are two keyrefs that could be
resolved by topics in the Content Store i.e., the keyref attribute value corresponds to an existing
topic's file name. You can see the topic titles displayed there.
The right-hand panel (Unresolved Keyrefs) shows two keyrefs that will need to be resolved
manually.
When you click OK, the system will write <keydef> elements into the map file to define the
missing keys. You can see how these example statements will appear in the DITA Map view, in
the image shown below.
This image shows how the keydef elements display in the DITA map view. The entries from the
Keyref Target Found panel display with black icons. These entries have been automatically
resolved.
The entries that were in the Unresolved Keyref panel display with red icons. These keydef
statements will need to be manually resolved. See Edit keydef actions on page 392.
390 DITA CMS User Guide for oXygen
Add keys to a map from preset list defined in the Content Store
Although several ways are available for including keys in a map, the DITA CMS Administrator
may have defined a list of keywords and external links in a system configuration file, which you
can insert into your map.
Instead of the writers each defining their own keys, the preset list of keys provides a quick method
for adding keys to a map as well as encouraging consistency in key use across the topics in the
Content Store.
The Edit Variables dialog box displays the list of preset keys defined in the configuration file:
• The Default Values column lists the default values for the keys defined in the configuration
file.
• The Current Values column displays the values of the keys defined in the map.
If the value displayed in the Current Values column is different from the value in the Default
Value column, it means that the map and the configuration file have keys with the same name
but are defined with different values. If a key has the potential for multiple values as a result of
being defined in different places, the key definition highest in the map hierarchy prevails.
Using conrefs and keyrefs 391
1. In the DITA Map view, open and lock the map to which you want to add the keys.
2. Right-click the map and click Edit Variables.
3. Select the checkboxes next to the keywords or external links that you want to add.
4. Click OK.
If you cannot see the keys in the DITA Map view, make sure the view is configured to display
the map elements.
prevails. This means if you have a map containing nested submaps and the submaps contain a
key defined with the same name but with different values, then the key value defined in the
topmost map in the hierarchy is the value used in the topics.
For example, Map A contains Map B and Map B contains Map C. A key named "product" is
defined in each map, but their values are not the same. In this case, the value defined for the
key in Map A is used. If the "product" key was defined in Map B and Map C but not in Map A,
then the value in Map B is used since it is higher in the map hierarchy than Map C.
When you click Insert variable from map, it inserts a keyword (<keyword
keyref="[value]"/>) at the location where you have placed your cursor. When you click
Insert external link from map, it inserts a link (<xref keyref="[value]"/>).
Restriction: Glossary keys are not available using this dialog box.
1. Place your cursor at the location where you want to insert the key.
2. Do one of the following depending on the type of key you want to insert:
3. In the Variable column, click the variable that you want to insert.To search for a variable,
type a relevant string of characters in the Filter results field.
Note: The variables are organized in the Insert Variable dialog box by the map in
which they are defined. If a variable is greyed out, it means it is defined in another
map higher in the map hierarchy.
4. Click OK.
Related Links
Display map elements on page 172
• local – if the link refers to a document that is part of the current set of content.
• peer – this parameter’s behavior will vary according to your system’s configuration.
• If peer has been configured as equivalent to local, the CMS will perform all validation
and you’ll need to adhere to good CMS praxis when you make these links.
• Otherwise, the CMS performs no validation and it is up to the authors to ensure that
these links reference existing documents/locations.
• external – the resource is not part of the current information set and should open in a
new browser window.
5. Click OK.
The corresponding keydef element is written into the map file.
394 DITA CMS User Guide for oXygen
The code generated for the example dialog is shown below. The image that follows shows
the result in the DITA Map view.
<keydef href="http://www.google.ca/" keys="mal6666666666666" scope="external"/>
1. In the DITA Map view, right-click a keydef and select Edit Keydef Action.
The Edit Keydef dialog appears.
2. In the Links to... area, select keyref.
3. Enter the link target into the keyref entry field.
The image below shows an example keyref link.
Using conrefs and keyrefs 395
4. Click OK.
The appropriate <keydef> element is written into the map file.
The following image shows the result in the DITA Map view after the map has been released.
396 DITA CMS User Guide for oXygen
3. Click OK.
The appropriate <keydef> element is written into the map file.
The code generated for the example dialog is shown below. The image which follows
shows the result in the DITA Map view.
<keydef keys="mal1234494279734" linking="none"/>
398 DITA CMS User Guide for oXygen
Unresolved keyref.
Topics: DITA CMS provides wizards that let you import valid DITA
• Importing content as documents into the TEXTML repository.
read-only You can import the following DITA documents:
• Import Ditaval files
• Import images • maps
• Import multiple resolution • topics
images • images
• Import maps
• Import topics You can import a document one at a time, or you can import
• Reimporting the same file in bulk. Any document you import is automatically assigned
into the DITA CMS to you and assigned the initial status (for example,
• Troubleshooting import Authoring:Draft). When you import a map or topic, the map
errors or topic and its dependencies (for example, the map, topics,
• Export content from the and images it refers to) are imported into the repository. If
DITA CMS
one of the document dependencies cannot be found (for
example, one of its topic is missing), the import is canceled
and an error message is displayed.
• Third-party documentation
• DITA content automatically generated from engineering databases
Once imported, you can use read-only content in your documentation. For example, you could
add a parts catalog provided by a third-party as an appendix to one of your document.
You can also reference content that was added as read-only. You can use any existing key
available in the read-only content.
When you import content as read-only, it is added to the DITA CMS Content Store but it follows
a different workflow than your documentation. The documents are put in the Authoring:readonly
status. You cannot change the status of the documents and you cannot update the content.
Related Links
Import maps on page 412
Import topics on page 417
Import images on page 405
Import multiple resolution images on page 409
http://docs.oasis-open.org/dita/v1.2/os/spec/common/about-ditaval.html
When you import a Ditaval file, its file name is added to the object's metadata in the
originalFileName index and the path relative to its containing map is added to the object's
metadata in the originalRelativePath index.
You can specify the Ditaval title and description inside processing instructions before importing
the Ditaval file. This ensures that a meaningful title and description are associated with this Ditaval
file.
To specify the title and description, add the following processing instructions to your Ditaval file
before importing it:
• ixiasoft.ditaval.title
• ixiasoft.ditaval.description
For example:
Import options
You can specify the following options when importing Ditaval files:
Option Description
Update existing When it imports a document, the DITA CMS determines if this
documents document already exists by checking:
Option Description
Import options
Import Base Specifies the base path to use when replacing existing documents.
Path:
4. Click Browse.
The Open dialog appears.
5. Navigate to the folder that contains the Ditaval file(s), select the file(s), and click Open.
The selected Ditaval file(s) appear in the Ditavals to import list.
6. To replace existing documents with the contents of the imported documents, select
the Update existing documents checkbox. To also use the relative path to match the
documents to update, select Use relative path along with file name to match documents
to update.
7. Click Next.
8. In the Import base path box, type the base path to use when replacing existing
documents.
Import and export documents 405
9. Click Finish.
Import images
The Import Images wizard offers you a way to import images in bulk.
When you import an image, its file name is added to the object's metadata in the
originalFileName index and the path relative to its containing map is added to the object's
metadata in the originalRelativePath index.
Option Description
Import As External When you import the document, it and its children (if any) are imported
into the repository and assigned the Authoring:readonly status.
Update existing When it imports a document, the DITA CMS determines if this
documents document already exists by checking:
Option Description
Note that, to be updated, the document:
Default language All documents in the DITA CMS must have a designated language.
If the documents you are importing do not have a language attribute,
the system will assign them the language you select from this list. If
the document you are importing has children, this language will also
be assigned to these children.
You can also set the Override unknown languages with default
option. If you select this option, when you import documents that
reference a language that’s not configured in your system, the system
will replace these values with the default language specified.
Images You need to specify the type and format of the images you are
importing.
Option Description
Labels You can assign one or more labels to a document and its children (if
any). Labels are added as metadata and improve searchability.
Import options
Images: If this option is selected and there are two (or more) images with the
Images have same file name, then the system imports just one of them (randomly).
unique names If you leave this check box empty, then all images are imported, they
keep their duplicate titles, and the system assigns unique file names.
Import Base Specifies the base path to use when replacing existing documents.
Path:
4. Click Browse.
408 DITA CMS User Guide for oXygen
3. If neither of these are available, the Image description field remains empty.
Note: As before, the image filename is always used as the image title.
This procedure lets you simultaneously import all the different formats that you use for each
image and automatically assign them to the different output formats. You can, at the same time,
specify the default format and whether the images will need to be translated.
Pre-requisites
• When multi-resolution images are imported into the system, they are assigned a collective ID
and stored in a zip file with the extension .image. To successfully assign the different resolutions
to the correct DITA CMS image object, all the different resolutions of an image must share the
same file name. For example, you might have a file called bike.jpg that you'd use for web
output, and another called bike.png that you would use for glossy brochures.
Option Description
Import As External When you import the document, it and its children (if any) are imported
into the repository and assigned the Authoring:readonly status.
Default language All documents in the DITA CMS must have a designated language.
If the documents you are importing do not have a language attribute,
the system will assign them the language you select from this list. If
the document you are importing has children, this language will also
be assigned to these children.
You can also set the Override unknown languages with default
option. If you select this option, when you import documents that
reference a language that’s not configured in your system, the system
will replace these values with the default language specified.
Type Type is an informative label that is written into the image metadata.
Default values are Line Art, Screen Capture, and Equation.
Default format Format may determine the output format of an image, depending on
your system setup.
Needs translation When a map is sent for localization, only the images designated as
Needs translation are included in the image localization kit. Images
that are not designated as needing translation when a map is sent
for localization are automatically promoted to the review state and
are not included in the image localization kit.
The values you specify will be used for all the resolutions of all the images. You can change
the values for individual images later on, if you want.
11. In the Type list, click the type of image being imported.
12. In the Default format list, click the output format for the image.
This may determine the output format that an image will be used for, depending on your
system setup.
13. Select the Needs Translation checkbox to designate the image as needing translation
or clear the checkbox if the image should not be included in the image localization kit.
Certain types of graphics may automatically enable this checkbox, but you can change the
values for individual images later on, if you want.
14. Click Finish.
Related Links
Working with images on page 276
Image resolutions and formats on page 277
Importing content as read-only on page 401
Import maps
The Import Maps wizard lets you add one or more maps authored outside the DITA CMS to the
repository.
When you import a map, this map and its dependencies (for example, the map, topics, and images
it refers to) are imported into the repository and assigned the initial status (for example,
Authoring:Draft). If one of the map dependencies cannot be found (for example, one of its topic
is missing), the import is cancelled and an error message is displayed.
When you import a map, its file name is added to the object's metadata in the originalFileName
index and the path relative to its containing map is added to the object's metadata in the
originalRelativePath index.
Option Description
Import As External When you import the document, it and its children (if any) are imported
into the repository and assigned the Authoring:readonly status.
Update existing When it imports a document, the DITA CMS determines if this
documents document already exists by checking:
Import and export documents 413
Option Description
1. That a document exists in the repository with the same name as
the original file name of the imported document.
2. If a document with the same name exists, and the Use relative
path along with file name to match documents to update option
is selected, the DITA CMS also checks that the base path of the
imported document also matches the base path of the document
in the repository.
Default language All documents in the DITA CMS must have a designated language.
If the documents you are importing do not have a language attribute,
the system will assign them the language you select from this list. If
the document you are importing has children, this language will also
be assigned to these children.
You can also set the Override unknown languages with default
option. If you select this option, when you import documents that
reference a language that’s not configured in your system, the system
will replace these values with the default language specified.
Images If the maps you are importing reference images, you need to specify
the type and format of the images.
Option Description
If an image is labeled Line Art or Screen Capture, the system will
automatically designate it as Needing Translation. Images labeled
Equation are not designated as needing translation; if these images
are part of a map that is sent for localization, the system will
automatically promote them to the review state and will not include
them in the image localization kit.
Labels You can assign one or more labels to a document and its children (if
any). Labels are added as metadata and improve searchability.
Import options
MAP IDs: If this option is not selected, the map is assigned a new ID by the
Retain root system. This will be used as both the file name and as the map root
map IDs ID. The imported map’s root ID is overwritten.
Topicrefs: If this option is selected, then navtitle and type attributes are
Remove removed from <topicref> elements containing an href attribute
@navtitle and when the map is imported.
@type from
When you are authoring DITA documents, there are several ways
<topicref>
that you can specify topic attributes such as type and title: at the map
containing
level and at topic level. DITA CMS does not maintain map attributes
@href
automatically. If you keep these in the map, then you’ll need to update
them manually if, for example, you change the title of a topic.
Import and export documents 415
Option Description
Images: If this option is selected and there are two (or more) images with the
Images have same file name, then the system imports just one of them (randomly).
unique names If you leave this check box empty, then all images are imported, they
keep their duplicate titles, and the system assigns unique file names.
Resources: If this option is selected and there are two (or more) resources with
Resources the same file name, then the system imports just one of them
have unique (randomly). If you leave this check box empty, then all resources are
names imported, keep their duplicate titles, and the system assigns file
names.
Import Base Specifies the base path to use when replacing existing documents.
Path:
4. Click Browse.
The Open dialog appears.
5. Navigate to the *.ditamap file(s), select them, and click Open.
The selected maps appear in the Maps to import list.
6. To import as a read-only object, select the Import As External checkbox.
Note: As a result of selecting this option, several other features are set to default
values and disabled.
7. To replace existing documents with the contents of the imported documents, select
the Update existing documents checkbox. To also use the relative path to match the
documents to update, select Use relative path along with file name to match documents
to update.
8. In the Default language list, choose the language you want set for the file. If you want
to overwrite the language attribute set in the imported file with the selected language,
select the Override unknown languages with default checkbox.
Import and export documents 417
9. In the Images options section, choose the type of images in the Type list and the output
format in the Format list for the images referenced in the document.
10. (Optional) To assign a label, click Select and add one or more labels. Click OK when
done.
11. Click Next.
12. Select the Map IDs checkbox to keep the existing IDs. Clear the checkbox if you want
new IDs assigned upon import.
13. Select the Topicrefs checkbox to remove the navtitle and type attributes from
<topicref> elements that contain an href attribute upon import. Clear the checkbox
if you do not want the attributes removed.
14. Select the Images checkbox to import only one instance of images with the same file
name. Clear the checkbox if you want all images imported and assigned unique file
names.
15. Select the Resources checkbox to import only one instance of resources with the same
file name. Clear the checkbox if you want all resources imported and assigned unique
file names.
16. In the Import base path box, type the base path to use when replacing existing
documents.
17. Click Finish.
Related Links
Working with images on page 276
Image resolutions and formats on page 277
Importing content as read-only on page 401
Import topics
The Import Topics wizard lets you add one or more topics authored outside DITA CMS to the
repository.
When you import a topic, this topic and its dependencies (for example, the topics and images it
refers to) are imported into the repository and assigned the initial status (for example,
Authoring:Draft). If one of the topic dependencies cannot be found (for example, one of its images
is missing), the import is cancelled and an error message is displayed.
When you import a topic, its file name is added to the object's metadata in the
originalFileName index and the path relative to its containing map is added to the object's
metadata in the originalRelativePath index.
418 DITA CMS User Guide for oXygen
Option Description
Import As External When you import the document, it and its children (if any) are imported
into the repository and assigned the Authoring:readonly status.
Update existing When it imports a document, the DITA CMS determines if this
documents document already exists by checking:
Default language All documents in the DITA CMS must have a designated language.
If the documents you are importing do not have a language attribute,
the system will assign them the language you select from this list. If
the document you are importing has children, this language will also
be assigned to these children.
You can also set the Override unknown languages with default
option. If you select this option, when you import documents that
Import and export documents 419
Option Description
reference a language that’s not configured in your system, the system
will replace these values with the default language specified.
Images If the topics you are importing reference images, you need to specify
the type and format of the images.
Labels You can assign one or more labels to a document and its children (if
any). Labels are added as metadata and improve searchability.
Import options
Images: If this option is selected and there are two (or more) images with the
Images have same file name, then the system imports just one of them (randomly).
unique names If you leave this check box empty, then all images are imported, they
keep their duplicate titles, and the system assigns unique file names.
Resources: If this option is selected and there are two (or more) resources with
Resources the same file name, then the system imports just one of them
have unique (randomly). If you leave this check box empty, then all resources are
names imported, keep their duplicate titles, and the system assigns file
names.
420 DITA CMS User Guide for oXygen
Option Description
Import Base Specifies the base path to use when replacing existing documents.
Path:
4. Click Browse.
The Open dialog appears.
5. Navigate to the topics, select them, and click Open.
The selected topics appear in the Topics to import list.
6. To import as a read-only object, select the Import As External checkbox.
Note: As a result of selecting this option, several other features are set to default
values and disabled.
Import and export documents 421
7. To replace existing documents with the contents of the imported documents, select
the Update existing documents checkbox. To also use the relative path to match the
documents to update, select Use relative path along with file name to match documents
to update.
8. In the Default language list, choose the language you want set for the file. If you want
to overwrite the language attribute set in the imported file with the selected language,
select the Override unknown languages with default checkbox.
9. In the Images options section, choose the type of images in the Type list and the output
format in the Format list for the images referenced in the document.
10. (Optional) To assign a label, click Select and add one or more labels. Click OK when
done.
11. Click Next.
12. Select the Images checkbox to import only one instance of images with the same file
name. Clear the checkbox if you want all images imported and assigned unique file
names.
13. Select the Resources checkbox to import only one instance of resources with the same
file name. Clear the checkbox if you want all resources imported and assigned unique
file names.
14. In the Import base path box, type the base path to use when replacing existing
documents.
15. Click Finish.
Related Links
Working with images on page 276
Image resolutions and formats on page 277
Importing content as read-only on page 401
• originalFileName, which tracks the original names of files that were imported
• originalRelativePath, which tracks the path of the file relative to its map
422 DITA CMS User Guide for oXygen
If Update existing documents is selected when you import a file, DITA CMS verifies the
originalFileName index for a match to an existing object. If it discovers a match and the Use
relative path along with file name to match documents to update checkbox is selected, DITA
CMS also verifies the originalRelativePath index to verify that the base path of the imported
file also matches the base path of the object in the Content Store. When a match is confirmed,
the existing object is updated with the content from the imported file provided that it is in a lockable
state. Once imported, all objects begin in the Authoring:draft state (or the equivalent initial
workflow status for that object type in your deployment).
If the existing object is not in a lockable state (for example, it is locked by another user or not in
the Authoring:Draft state), the existing object is not updated and the “Existing file NOT replaced”
message is displayed in the Import dialog.
DITA CMS does not automatically change the state of an existing object to allow the update since
a status change in one object may trigger a cascade of status changes in other objects in the
Content Store as a result.
The Error Description field provides information that might help you determine why the file could
not be imported. For example, in the diagram above, the DITA CMS could not find an image
(mte1420485080295.image) which is referenced in file mte1417101584341.xml. To fix the issue,
you can look at the content of the mte1417101584341.xml file and find the missing reference.
To open a document, double-click the initial imported object from the Import Errors dialog (for
example, the imported map in the dialog above). This is the object with a complete path and
filename in the Filename field. The DITA CMS opens the folder that contains the object.
When you export a map, the export includes all the map's references: sub-maps, topics,
images, and topics referenced via xref, conref, keyref, etc. Likewise, when you export a topic,
the export includes all of the topic's references.
If this option is not available, ask your CMS Administrator to check the system configuration
to ensure that you are assigned to a role that has access to Export and that the output type
is enabled.
It is not currently possible to apply a ditaval to exported content. The Export process simply
gathers the required content from the Content Store and returns it to you. The DITA Open
Toolkit is not involved in the Export and therefore there is no opportunity to perform any
transformation on the content.
Within the zip file, the exported content is in the content\authoring subfolder. This subfolder
contains a number of items other than the content itself. For each exported object, the following
files are provided:
• *.properties
424 DITA CMS User Guide for oXygen
• *.customproperties
• *.indexedcontent
While you can use information in these files for different purposes, neither you nor a third party
needs them to generate basic output. You can delete them if you choose.
Important: If you are sending the content to a third party to generate their own output,
you must also send the following plugins from the Output Generator:
• com.ixiasoft.dita.dtd
• org.oasis-open.dita.mathml.doctypes
• com.ixiasoft.images
• org.w3c.mathml3
25 Taxonomies
Taxonomies
Topics: DITA CMS lets you create taxonomies that reflect the structure
• About Taxonomies of the information contained in your documents.
• About the Taxonomy Terms
view
• Open the Taxonomy Terms
view
• Creating and modifying
taxonomies
• Import a taxonomy from a
TSV text file
• Managing taxonomy terms
within documents
• Locating documents with
taxonomy terms
426 DITA CMS User Guide for oXygen
About Taxonomies
Taxonomies are a type of metadata used to classify topics or elements.
A taxonomy is a hierarchical classification system that contains one or more taxonomy terms
that you define. When you apply these terms to documents or elements, you can make information
easier to find, both for authors and for end users. You can also use them when you process
output to facilitate features like dynamic publishing portals.
You can add taxonomy terms to the <metadata> section of a topic or map as either <category>
or <keyword> elements, depending on how your system is configured. This adds those
classifications to the entire topic or map. You can also add taxonomy terms within the body of a
topic or map as <keywords> to classify specific elements.
When used as a metadata category, a taxonomy term contains two components: a Human
Readable category name and a Vocabulary Term Value. The two may be but need not be the
same. For example some output applications may require a taxonomy term format that does not
identify the actual term to the reader.
You can use the Taxonomy Terms view to manage taxonomies and apply taxonomy terms to
multiple documents. (You cannot use this view to add keywords to elements.) You can also use
buttons in the CMS toolbar to add terms to the document that you are editing.
• The Taxonomy pane shows the taxonomy structures available for you to use. This is also
where you can edit taxonomies and create new ones. It has two columns:
• The Terms pane shows all terms contained by the documents in the Documents pane.
• The number in parenthesis indicates the number of documents containing that term.
• Blue italic text appears when you highlight one or more documents in the Documents list.
These are the terms the selected documents contain.
428 DITA CMS User Guide for oXygen
Figure 60: Terms pane – shows the terms contained in the documents
• The Documents pane displays the documents you are currently working with. Underlined
documents contain the terms that are currently highlighted in the Terms pane.
Taxonomies 429
• Create and modify taxonomies: These operations require additional access rights and are
typically performed by information architects and CMS administrators.
• Manage taxonomy terms within document: Once a taxonomy is created, all DITA CMS
users can add and remove terms within their documents.
1. From the main menu, click Window > Show View > Other
2. In the Show View dialog box, click DITA CMS - General > Taxonomy Terms
430 DITA CMS User Guide for oXygen
3. Click OK.
The taxonomy is displayed in the Taxonomy pane. It does not include any term.
• Append Child Term – adds a term as a child of the selected term or taxonomy. This is
the option you'll use when you add your first terms to a new taxonomy.
• Insert Term – adds a term at the same level as the selected term. (Not available at the
root node.)
This may be the same as the Human Readable value or may be different depending on how
your organization uses taxonomy terms.
If the Vocabulary Term Value already exists, the following message is displayed:
A term with this value already exists. Do you wish to use the existing term?
• To use the existing term, click Yes. You have completed this procedure.
• To enter a different term, click No and specify another Vocabulary Term Value.
7. Right-click the root node of the taxonomy and select Save Taxonomy.
1. In the Taxonomy Terms view, right-click the root node of the taxonomy.
2. Select Edit Taxonomy.
The taxonomy is locked, and the word [EDITING] appears beside it.
3. Right-click the term you want to delete and select Delete Term.
4. Click OK.
Both the Human Readable and Vocabulary Term Value are removed from the taxonomy
structure.
5. Repeat for each term you want to delete within the editable taxonomy.
6. Right-click the root node of the taxonomy and select Save Taxonomy to save your
changes.
1. In the Taxonomy Terms view, right-click the root node of the taxonomy.
Note: The taxonomy must not be in editing mode.
2. Select Delete Taxonomy.
The Delete Taxonomy dialog opens. For example:
3. Click OK.
The taxonomy is removed from the list of taxonomies.
Taxonomies 433
Figure 62: Sample taxonomy structure (from the Google product taxonomy)
4. Click Browse.
The Open dialog appears.
5. Navigate to the TSV file, select the desired file, and click Open.
The selected TSV file appears in the Taxonomy Title.
6. Click Finish.
The taxonomy pane displays the imported taxonomy and is available for you to use.
The terms contained in the selected document(s) are highlighted in blue italic font in the
Terms pane.
Once you click Apply, the taxonomy changes are applied to the documents. Documents that
were in a 'lockable' status such as Authoring:work or the equivalent remain locked. Documents
with an 'unlockable' status such as Authoring:done or the equivalent that were locked by the
system are handled differently. When Apply is clicked, the document is released, a comment
describing the change is automatically added to the Revision History, and the status remains
unchanged. If any of the documents cannot be locked, an error message displays and the operation
is canceled. To continue, either change the status of the affected documents so that they can be
locked or remove them from the Documents pane.
Terms are added to the document's <metadata> section as keywords or categories, depending
on how the system is configured.
Once you click Apply, the taxonomy changes are applied to the documents. Documents that
were in a 'lockable' status such as Authoring:work or the equivalent remain locked. Documents
with an 'unlockable' status such as Authoring:done or the equivalent that were locked by the
system are handled differently. When Apply is clicked, the document is released, a comment
describing the change is automatically added to the Revision History, and the status remains
unchanged. If any of the documents cannot be locked, an error message displays and the operation
is canceled. To continue, either change the status of the affected documents so that they can be
locked or remove them from the Documents pane.
1. In the Documents pane, click the documents that you want to remove.
2. Right-click the selected documents and click Remove Documents from List.
Taxonomies 437
This procedure lets you add existing taxonomy terms as keywords in the body of a document.
Note: If you want to add taxonomy terms to the document’s prolog, use the Add taxonomy
terms to a single document as metadata procedure.
The taxonomy terms are added to the <metadata> section of a document as either <category>
or <keyword> elements, depending on how your system is configured.
Note: If you want to add keywords to the document's body, use the Add taxonomy terms
to a single document as keywords procedure.
1. Either
4. From the Select documents containing list, select one of the following:
• any of the terms: Documents that contain at least one of the specified taxonomy terms
are returned in the Search Results.
• all of the terms: Only document that contain all of the specified taxonomy terms are
returned in the Search Results.
Project management
Use it to assemble the staff that will be responsible for documentation and review, to track the
progress of the maps that make up the projects, and to designate the languages that each map
will be translated into.
The Project Management view includes a Deliverables list that displays the selected project's
deliverable maps, their IDs and status.
Two columns let you assess a specific deliverable's status with regard to its own or the project's
milestones, whichever is closest.
Project Management view is associated with the Bulletin Board view. This view displays messages
that project coordinators have posted for their team using the Project Management view's Bulletin
Board item.
Project management 443
Related Links
Show views on page 68
Open an Eclipse Perspective on page 54
In the Project Management view, the color of the project folder indicates the ownership of the
project, as follows:
In the Project Management view, deliverables that are approaching or past their designated
milestones are highlighted in the following colors:
444 DITA CMS User Guide for oXygen
These colors are removed once the milestone's completion date is recorded.
Note: The exact time intervals are configurable. Your CMS Administrator can tell you
exactly when the colors are set up to appear in your system.
Highlights on the projects use the same set of colors, but reflect the project’s relationship to its
due date.
The example below shows what you would see on January 23, 2008 if you had a project (Test
Project 2) that was due on January 21st. Test Project 2 has an orange highlight – it’s less than
2 weeks past its due date.
The map Setting Up Remote Access, on the other hand, has missed two milestones and is close
to another. In the Project Management view, you can see that those milestones are highlighted
in red and orange and yellow, respectively, and that the map name is also highlighted in red.
The same system of highlight colors is used in the Deliverables list, but with slightly different
connotations. If a project is getting close to its due date, then the map that’s responsible for the
slippage is highlighted with the color that reflects the project’s status.
In the example below, the map Setting Up Remote Access has an orange highlight. This indicates
that the entire project (Test Project 2) is several days past its due date, and that it’s the Setting
Up Remote Access map that’s causing the problem.
Project management 445
You can also open previous versions of these deliverables, both in the authoring languages and
the targeted translation languages.
When you expand each deliverable item you can see its subsidiary items:
• Targeted translation languages – shows the languages that this deliverable is to be localized
in.
• Published – shows maps that have completed either the Authoring or Localization cycle and
currently have the status Published:done.
• Milestones – shows the due dates (if any) that are specific to a particular deliverable.
446 DITA CMS User Guide for oXygen
The icons under the Targeted Translation Languages item represent the languages that this
deliverable is to be localized in.
• Blue icons – indicate translation languages specific to this deliverable. This includes languages
set at the project level as well as those set for this particular map.
• Green icons – indicate targeted translation languages in other projects. These are only for
reference and cannot be removed.
In the illustration below, the map has been expanded to show its targeted translation languages.
You can see that this deliverable is scheduled to be localized in German and Italian (blue icons).
The green icons indicate that – in another project – this map is being translated into French and
both Traditional and Simplified Chinese.
Localization history
After a map has been published, it is ready to be localized. You can view the localization history
(if any) under the appropriate icon. In the illustration below, the French icon has been expanded
to show the versions of the map that are currently in the Localization cycle.
Note that these are all earlier versions of the map, which is currently at version 8.
Project management 447
Yellow highlighting
A yellow highlight on one of the targeted translation language icons tells you that the current
version of the map has arrived in the localization cycle. As soon as the version of the map that
is in your project is promoted into the Localization cycle in a specific language, a yellow highlight
appears on the icon representing that language.
In the illustration below, you can see that there are yellow highlights on all three of the targeted
translation languages. The French icon has been expanded so that you can see that the version
number (13) matches that of the map.
Published
The published icon lets you see all the published versions of a map – in all its languages.
448 DITA CMS User Guide for oXygen
Maps arrive in the published cycle in two ways – from the Authoring cycle in their native language
and from the Localization cycle in their targeted translation languages.
When you expand the Published item you'll see icons representing all the languages that the
map has been published in.
In the example below, you can see that there are three targeted translation languages – French,
Simplified Chinese, and Traditional Chinese – indicated with blue icons. The native authoring
language – English – is indicated with a green icon.
You can see that none of the current localizations of this version of the map (9) have yet arrived
in the Published cycle, although an earlier version has been published in French (3).
There are, however, several published versions in the original language. In the illustration below
the English icon is expanded to show the versions that have been published. The highlight on
the language icon indicates these include a version that corresponds to the map version (9).
You can click any of the versions to open it in the editor area.
Team workloads are displayed in two different ways, depending on whether a maximum workload
has been set during DITA CMS configuration.
Project management 449
• If no maximum workload has been set for a given role, Project Management view simply shows
the number of documents assigned. In the screen shot below, you can see that the team
member has one document assigned to him in the role of Project Coordinator.
• If a maximum workload has been set for a role, then the workload displays as a percentage
of the maximum. In the screen shot below, you can see that three of the team member's roles
have been configured that way: Author, Information Architect, and Reviewer.
Maximum workload is the maximum number of documents of a given type that an individual can
be assigned in a given role. This number is configurable and may be different in your installation.
Note: The numbers shown in Project Management view reflect all of a team member's
assigned documents in all projects in the repository. It includes documents that are
Incoming, Active, and Retained.
By default, DITA CMS is configured to display the following colors under the following workload
conditions:
• Black - the team member is assigned less than 80% of their configured maximum workload.
• Yellow - the team member is assigned between 80 and 100% of their maximum workload.
• Red - the team member is assigned more than 100% of their maximum workload.
The numbers and colors are configurable and may be different in your installation.
450 DITA CMS User Guide for oXygen
Create a project
This procedure creates a completely new project.
Note: Any project that you create is automatically assigned to you as Project Coordinator.
1. From the Project Management view, click the Create Project button ( ).
The Project Information dialog appears.
2. Enter a Name for the project.
3. (Optional) Set the Due Date.
4. Click OK.
Your new project appears in the Project Management view.
If you need to change or assign additional project managers you can do so using the
Assignments dialog, if you have project assignment rights.
Project status
Project status records the stages of the project's development.
The Project Management view lets you record project status to help you keep track of the overall
progress of the project. Project status is there for reference only. There are no document
dependencies as there are for topics, maps, and images.
The diagram shown below illustrates project status levels and their relationship to each other.
Note: When you set a project's status to Done or Cancelled, it will no longer be visible in
the Project Management view.
Project management 453
Related Links
Document development process on page 43
Document status dependencies on page 46
Change project status on page 453
Clone a project
This procedure creates a duplicate of an existing project.
Use the Clone procedure when you want to create a project that uses the same basic information
as another project. Cloned projects initially always have Planning status.
5. Click OK.
A clone project is created and added to the repository. The system assigns it a unique ID.
You can remove default languages from specific deliverables or add additional languages to
them, using the Specify targeted translation language procedure.
The selected languages appear as items under Default Translation Languages. They will
also appear in the list of targeted translation languages under each deliverable in the
project.
456 DITA CMS User Guide for oXygen
The selected languages are removed from the project and from all deliverables' Targeted
Translation Languages lists.
The default approval system for a particular role is set during system configuration. You can
override the system defaults by setting the approval systems for the different roles within a project.
Note: Approval systems may also be set during file assignment. If there is a conflict
between approval systems, the more restrictive system always takes precedence. For
example, if a document is in two projects with different approval systems, the more
restrictive system is the one that's used.The same holds true for approval systems assigned
on a per-document basis.
The selected roles and their approval systems appear as items under Approval Systems.
Project management 457
3. Click Add.
The Define Milestone dialog appears.
458 DITA CMS User Guide for oXygen
The milestones that you've defined for the project appear beneath it in the Project
Management view.
Project management 459
The modified milestone date appears beneath its project in the Project Management view.
You can select several milestones by holding down CTRL or SHIFT and clicking the milestones.
6. Right-click, then select Remove from the menu.
The project is transferred to the new coordinator and disappears from your own Project
Management view.
• User Role - sorts people by their responsibilities, such as Graphic Artist or Subject Matter
Expert.
• User Group - sorts people by other potentially useful categories, such as Senior Writers
or Paris Employees.
• No Grouping - presents the list of all available personnel.
The categories within each grouping are configurable and may vary.
This does not, however, influence the role assignments that you later make for Jane
(or any other team member). People may be assigned to as few or as many roles as
they are configured to hold.
5. Click OK.
The choices are assigned to your project's team.
Project management 463
These team members should now be assigned to their default roles in the project.
Related Links
Assign documents to users on page 304
The selected team members are removed from both Team and Default Role Assignments.
Note: Removing team members from a project does not change document assignments.
If you want to reassign documents to other team members, you'll need to do it through
the Assignments dialog.
Related Links
Assign documents to users on page 304
Use this procedure to assign the people on your team to the roles that they will play in producing
the document deliverables. Typical roles include Project Leads, Information Architects, Graphic
Artists, etc. The exact titles may vary according to how your system is configured.
You can select specific people within a role by opening the tree and selecting individual
names. If there are limits to the number of people that may play a specific role in a project,
you'll see it here, e.g., (Max:1).
4. Click OK.
Your selected roles appear under the Default Role Assignments item, with the specified
set of people under each role.
This procedure establishes the roles that people play in the project. You will need to
explicitly assign documents to these people.
You can select several team members by holding down CTRL or SHIFT and clicking the team
members.
5. Right-click, then select Remove from the menu.
The selected team members are removed from the Role item. If you remove all items from
a Role, the Role item itself will disappear.
Note: Changing someone's role assignment does not change document assignments. If
you want to reassign documents to other team members, you'll need to do it through the
Assignments dialog.
Related Links
Assign documents to users on page 304
You can add resource packages to projects like any other map, and then set milestones and
specify translation languages for them, if required.
The map appears as an item under the project's Deliverables item. All of the project's
Default Translation Languages will automatically be assigned to it.
If you need to have this map translated into a language other than the defaults for the
project, you will need to add a Targeted Translation Language.
466 DITA CMS User Guide for oXygen
Remove deliverables
This procedure removes selected deliverables from a project.
1. Expand the project, if necessary, to display its items.
2. Expand the Deliverables item.
The deliverable maps appear.
3. Click the map(s) you want to remove.
You can select several maps by holding down CTRL or SHIFT and clicking the maps.
4. Right-click, then select Remove from the menu.
5. Click Add.
The Define Milestone dialog appears.
The Define Milestone dialog reappears showing the selected due date.
9. (Optional) Enter a Comment.
10. Click OK.
The Manage Milestones dialog reappears showing your new milestone with its due date.
11. Click Add to set additional milestones.
Tip: If you want to delete a milestone, simply highlight its line in the Manage
Milestones dialog, and then click Remove.
12. Click OK when you're finished.
The milestones that you've defined for the deliverable appear beneath it in the Project
Management view.
The modified milestone date appears beneath its deliverable in the Project Management
view.
The selected languages appear as items with blue icons below the deliverable. If a
deliverable has translation languages assigned in other projects, they will appear as items
with green icons below the deliverable. These items are for information only and cannot
be removed.
472 DITA CMS User Guide for oXygen
1. Right-click the Bulletin Board item, and select Add Message from the menu.
The Message dialog appears.
2. Fill in the Title.
3. Type the Message.
4. Select Broadcast to email this message to your team.
Project management 473
Email format is configurable and will vary according to your system configuration.
5. Click OK.
All the project's team members will see your message in their Bulletin Board views.
• In the DITA Map view or DITA Map Editor, click the Show statistics button ( ).
• In Project Management view, right-click any map and then select Show Statistics.
The number of documents at each status point is shown both as a fraction and as a percentage
of the total number.
Project management 475
Buttons on this display window let you print its contents or export them as a PDF.
• In Project Management view, right-click on the Deliverables node and then select Show
Statistics.
The project-wide milestones appear at the top of the chart. Map-specific milestones are shown
in a different color at the bottom of the chart.
The illustration below shows the graphic produced for a project containing four maps. The pink
bars show the milestones configured for the project as a whole. The blue bars show the milestones
configured for one specific map: Bicycle Upkeep.
The green bar inside each pink bar represents the number of maps that have reached that status
point. You can see that two of the maps in the project have reached Authoring:review, and that
476 DITA CMS User Guide for oXygen
the same number have reached Authoring:accepted. One map has arrived at Authoring:done,
and none has yet been Published.
Note: States and status points are installation-specific. Those shown in the illustration
are the ones used at IXIASOFT Technology and may differ from the ones used in your
working environment.
Buttons on this display window let you print its contents or export them as a PDF.
• In Project Management view, right-click anywhere on the Project and select Show
Project Statistics.
Team workloads are displayed in two different ways, depending on whether a maximum workload
has been set during DITA CMS configuration.
• If no maximum workload has been set for a given role, Project Management view simply shows
the number of documents assigned. In the screen shot below, you can see that the team
member has one document assigned to him in the role of Project Coordinator.
• If a maximum workload has been set for a role, then the workload displays as a percentage
of the maximum. In the screen shot below, you can see that three of the team member's roles
have been configured that way: Author, Information Architect, and Reviewer.
Maximum workload is the maximum number of documents of a given type that an individual can
be assigned in a given role. This number is configurable and may be different in your installation.
Note: The numbers shown in Project Management view reflect all of a team member's
assigned documents in all projects in the repository. It includes documents that are
Incoming, Active, and Retained.
By default, DITA CMS is configured to display the following colors under the following workload
conditions:
• Black - the team member is assigned less than 80% of their configured maximum workload.
• Yellow - the team member is assigned between 80 and 100% of their maximum workload.
• Red - the team member is assigned more than 100% of their maximum workload.
The numbers and colors are configurable and may be different in your installation.
478 DITA CMS User Guide for oXygen
Delete a project
You can delete a project if it's no longer required.
You can delete a project from the Search Results view or from the Project Management view.
To delete a project:
1. In the Search Results or Project Management view, right-click the project and select
Delete.
The Delete Documents window is displayed.
2. (Optional) Click Yes.
The project is deleted.
27 Creating and generating
reports
Topics: You can create and generate reports using the DITA CMS.
• Understanding reports
• Create viewpoints
• Create a TEXTML Server
query
• About reports
• Generate a report manually
• Generate reports using the
Scheduler
480 DITA CMS User Guide for oXygen
Understanding reports
This section provides an overview of reports and describes how to generate them using the DITA
CMS.
A report contains all the information generated from a saved TEXTML search query in DITA CMS.
The search results are presented according to a defined viewpoint, which arranges the search
results into groups and displays them using a defined set of columns. The report is generated
as an HTML output using an XSL transformation template.The following diagram shows a sample
report:
Generating reports
• Manually from the DITA CMS: In this scenario, a report is generated directly from the search
query panel (Search > Queries > Reports).
• Automatically using the Scheduler: In this scenario, a report is scheduled at a specific time
interval and the report is generated as a Scheduler job. The Scheduler reviews the Content
Store for any scheduled reports. If there are reports scheduled, the Scheduler retrieves all the
relevant information (for example: query name, viewpoint, etc.) about each report and processes
the reports according to their scheduled entries. The Scheduler service must be configured
and running for the report to be generated. The report is sent as an email to a specified list of
recipients.
Creating and generating reports 481
1. Create a viewpoint.
2. Create a TEXTML Server query.
3. Create a report.
4. Generate the report manually or automatically (using the Scheduler).
This section shows how to generate a sample report using the Topics in Authoring:work search
criteria.
Create viewpoints
To create a report you have to create a viewpoint.
A viewpoint is a combination of grouping fields and display columns that allows you to organize
search results. They are useful when you are performing broad searches that produce a large
number of search results. When a viewpoint is selected, the search results are automatically
arranged into fields and displayed according to specific columns.
To create viewpoints:
1. In the DITA CMS, click the Search Results tab to display the view.
For example:
The new name appears in the Viewpoints list and the Available Fields list is populated with
all the available fields to create groupings.
Creating and generating reports 483
6. From the Available Fields panel, select a field, then click the Add button ( ).
Your selection moves to the right-hand pane. You can make multiple selections by holding
the SHIFT or CTRL keys and clicking a field.
484 DITA CMS User Guide for oXygen
7. Use the Move Up ( ) or Move Down ( ) button to organize the desired grouping
order.
8. Select the Display Columns to add display columns.
9. From the Available Fields panel, select a display column, then click the Add button
( ).
Your selection moves into the right-hand pane. You can make multiple selections by holding
the SHIFT or CTRL keys and clicking a column.
10. Use the Move Up ( ) or Move Down ( ) button to organize the desired display
order.
11. Click OK.
Your new viewpoint is now available in the Search View Results.
3. In the Search Results view, click Select viewpoint from the drop-down list and select
a viewpoint.
The search results are organized into folders and display columns according to the viewpoint
selected. The example below shows the viewpoint display of the Maps in Authoring:work
search results grouped by the following fields: title, status, and last mod by. The results are
Creating and generating reports 485
also displayed in columns according to the selected columns. Click a folder to display the
documents within it.
4. To exit the viewpoint mode, click the Select viewpoint drop-down list and select None.
2. To save the criteria as a TEXTML query, click the Save TEXTML Query button ( ) and
enter a descriptive name.
Note: (Optional) If a viewpoint is already selected in the viewpoint drop-down list, the
Save viewpoint with query option is available. Click this option to save the TEXTML
query with the currently selected viewpoint.
For example:
3. Click OK.
The query is saved under Personal Textml in the Queries panel.
About reports
This feature allows users to generate reports based on queries that they have created. The report
contains all the required information to generate reports from the saved TEXTML Server query
in the DITA CMS.
Reports are created with the Create report editor as shown below:
Creating and generating reports 487
1. General Information: Select the query, viewpoint, and XSL transformation template used to
convert the report to an HTML output, as follows:
Field Description
Query Shows all the saved TEXTML search queries. Choose the search
query of your choice.
488 DITA CMS User Guide for oXygen
Field Description
Viewpoint Shows all the available viewpoints. Choose the viewpoint of your
choice.
Note: The color of the Viewpoint field indicates its status,
as follows:
XSL template Shows all the available templates used to convert the report to
HTML. By default, only the report2html.xsl XSL template is available,
but additional templates may have been added for your deployment
by your CMS System Administrator. Select the template to use for
this report.
2. Notify: You can enter a list of all emails that should receive the generated report.
Field Description
Field Description
3. Parameters: You can define the value of parameters used for the report. These parameters
are contained in the selected XSL template.
Field Description
4. Schedule: The Schedule allows you to specify the interval at which the report will run. It is a
combination of minutes, hours, days, months, and weekdays.
Note: This section is only applicable to scheduled reports and requires that the
Scheduler be installed and running.
Field Description
Description Choose the time interval: minutes, hours, days, months, or days
of week.
The table below describes various available options for the Value field in the Schedule section.
Examples for scheduling in minutes is shown, along with their respective Cron jobs. The
scheduling can be extended to hours, days, months, and weekdays.
490 DITA CMS User Guide for oXygen
Table 6: Schedule values, value description, example for scheduling in minutes, and
the respective Cron job
Note:
For more information about all available Cron options, see the following URL:
http://www.sauronsoftware.it/projects/cron4j/manual.php#p02
Create a report
The following procedure describes how to create a report.
Before creating a report:
• Create a viewpoint.
• Create a TEXTML query.
The report is created and opened in the DITA CMS, as shown below. The report name is
displayed:
Note: The created report can also be viewed in the Queries panel.
492 DITA CMS User Guide for oXygen
6. In the Notify panel, enter the list of all emails that should receive the generated report.
To add email recipients:
a) Right-click Email to add, delete, and modify email details.
For example:
c) Enter the Email and choose the Email type from the drop-down list.
d) Click OK.
Creating and generating reports 493
For example:
7. In the Parameters panel, enter the parameters that are required for the report.
Note: Both the Key and Value are configurable from the report2html.xsl template.
However, from the Parameters panel only the Value is modifiable.
d) Click OK.
For example :
8. In the Schedule panel, specify the time interval at which the report will run. To specify
the values:
494 DITA CMS User Guide for oXygen
a) Double-click the Value field on the line that you want to configure.
For example, to set the minutes for the job double-click Value on the Minutes line. The
following dialog appears:
1. Select and right-click the report you want to run from the search query panel (Search >
Queries > Report > ) folder.
2. Choose Run now from the selection.
Once generated, the report is opened using the default HTML browser of your operating
system. For example:
496 DITA CMS User Guide for oXygen
BIRT Reports
DITA CMS offers you the option of producing reports and graphs from the data in your repository.
To do this you must download and install the Business Intelligence and Reporting Tools (BIRT)
developed by the Eclipse community.
1. Click Help > Install New Software... from the menu bar.
The Available Software dialog appears.
2. Click Add....
The Add Site dialog appears.
3. In the Name field, enter Eclipse BIRT.
4. In the Location field, enter the following URL.
For example:
http://wiki.eclipse.org/BIRT_Update_Site_URL
5. Click OK.
The Available Software dialog displays your new site.
6. Select the items to install.
7. Click Next.
The Install Details dialog appears, displaying the features that will be installed.
8. Select the set of features you want to install, then click Next.
The Review Licenses dialog appears.
9. Select I accept, then click Finish.
Software installation begins.
When software installation is finished, you will be asked if you want to restart Eclipse.
Eclipse restarts and opens. You can now open the Report Design Perspective.
Related Links
Open an Eclipse Perspective on page 54
BIRT Reports 499
The next step is to create a data set definition, based on this query, to extract specific information
such as the number of times each topic is going through review. Or to find the number of
auto-translated segments in each topic.
Once you've created your data set definition, you can use it to output the data source file. DITA
CMS creates its data source files in TSV format. These are the files that you select from the
Report Design Perspective when you create a new data source for a report.
Related Links
Overview of the BIRT report process on page 499
In the Data Set Definition dialog, you select the columns of information that you want to extract
from the TEXTML indexes. You can then specify the operations you want to perform on each
column, and then filter this information to extract even more specific information.
Note: Each row in this dialog defines a column in the corresponding data source.
Related Links
Create the DITA CMS data set definition on page 505
There are others that return values that you’ll also find useful when you’re analyzing document
production in your facility. The exact selection varies with each installation. Some typical examples
are shown below.
BIRT Reports 501
• Localization Segment Count – returns the number of translatable segments in your document.
If you look at the XML, these segments are identified with an ixia_locid attribute.
• Localization Autotranslated Segment Count – returns the number of segments where the
system supplied the text for the translation, i.e., the text hadn't changed from the previous
revision.
• Collection – identifies a collection in the repository: content\authoring, for example.
Stamp-related columns
Stamp information is read from the custom properties that are written into all documents in the
Content Store.You can see some of it in System Comments if that column is displayed in Search
Results. This information is generated by all actions that modify a document, such as changed
status, modifications, etc. It contains information such as the action performed, the complete date
and time, and the user who performed the action.
• Authored by – extracts the name of the person who promoted the document into the review
cycle. This information is useful for finding out how many documents a writer is producing.
• Authored Stamp – in addition to the person who promoted the document into the review cycle,
this column returns the date it was done. This lets you perform analyses on, say, how many
documents are being produced in a particular month by the writers on your team.
• Modification dates – extracts all the dates when a document was modified. You can use this
information to analyze the number of revisions that documents are going through in a given
time period.
• Stamp – returns changes of status, the dates they were performed, and the users that performed
them. Unlike Authored Stamp and Authored by, this column extracts information from documents
in all cycles.
First Column
When you configure your first column (that’s the first row in the table), you have the following
choices:
• List all values – produces a list of the required values in the final data set.
• Group on values – groups values according to the number of documents that fit the selected
criterion.
Second Column
Your choice of operations in the first column largely determines what’s available for selection
when you configure your second column, whatever sort of column you’re configuring, be it Type,
Status, Language, or whatever.
• If you chose List all values in the first column, then you’ll only be able to choose List values.
• If you chose Group on values, then you’ll only be offered Also group on values.
Numerical columns such as File size, on the other hand, also offer you the Calculate operation.
And the ID column supports the following three special operations (in addition to List and Group):
• Calculate parent maps – which returns how many maps reference a given document.
• Calculate parent references – which calculates how many documents other than maps refer
to a given document. This includes hrefs and conrefs.
• Calculate child references – which calculates how many child documents a given document
references. This includes hrefs, conrefs, and references by resources.
These columns only support the List operation. They’re useful when you want details about the
previous columns, such as titles, file names, and so forth.
• The members of the Stamp family let you extract sub-sets of the information they return, such
as the user that performed a specific action, or the year and month an action was carried out.
BIRT Reports 503
• Columns that return numerical information (such as File Size) offer you the following
calculations:
• Average
• Max
• Min
• Total
• The ID column includes a filter called “Greater than 1 count”. This filter appears when you’re
calculating the number of parent map references. Most topics will have one parent map; it’s
the ones that are referenced by more than one map that are statistically interesting.
• Documents Count – gives you the number of documents returned by the grouping operation
in the first column. Or by the combined criteria of columns one and two, if you’re grouping by
two sets of criteria: documents per writer per month, for example.
• Running Count – totals the values in the Count column in subsequent cells.
• Values Count – gives the number of values, as opposed to the number of documents, returned
by the first column.
You can see them in the CMS data source TSV file.
You can see these columns if you open a DITA CMS data source that’s been produced using a
grouping operation in the first column. DITA CMS data sources are stored as TSV files, which
you can easily open in a spreadsheet application.
The image below shows the TSV file produced if you select Creation Date for your first column
and then apply the Group by values operation. It's also filtered to show the results by Year-Month.
• The first column (column A) contains all the months when documents were created. These
range from September 2006 (2006-09) through September 2007 (2007-09).
• Column D (Documents Count) shows the number of documents that correspond to the criteria
in column A. In the first row, we can see that 114 documents were created in 2006-09.
504 DITA CMS User Guide for oXygen
• Column E (Running Count) progressively sums the Document Count entries. The last entry
at the bottom of this column is the total number of documents that meet the criteria – 286.
Values Count
For many grouping operations the Values Count will be the same as the Documents Count. This
is the case for the example like the one shown above—there’s never more than one creation
date for a document.
But queries on stamp-based information may give you interesting results. The example below
shows the values returned by a query on the Authored Stamp.
The Authored Stamp returns information which includes not only the date that a document was
put into the review cycle, but the number of such events. If the document is put into the review
cycle ten times before it's approved, then there will be a total of ten date values.
If we look at the first data row, we can see that in May of 2009 (2009-05), 6 documents were put
into the review cycle – that's the number in the Documents Count column.
We can also see that the query found 25 occurrences of the date stamp in the documents – that's
the number in the Values Count column.
Taken together these values indicate that each of these documents are going through the review
process an average of four times apiece. This is one sort of analysis that you could perform on
these figures; there might be others.
If you wanted to get a clearer picture of the process, you could set up your data set definition to
first group by Year-Month, and then group by User. This would give you the number of times
each writer needs to send a topic through review before it is approved.
BIRT Reports 505
A data set definition is, basically, an advanced form of XML query. Once you've defined an
underlying XML query, the Data Set Definition dialog lets you extract information from specific
columns.
Your choice of operations for the first column will determine the operations available for
subsequent columns.
See Supported operations by column.
7. Under Filter select the subset of information that you want to extract from the column.
Several columns, such as Stamp, contain complex information fields that you can utilize in
different ways.
Other columns – those that contain numerical values – let you extract information such as
Maximum and Minimum, or support calculations such as Average.
See Available filters.
8. Click Save.
A new data set definition appears under the Data Set Definition item in the Queries panel.
The item will have the same name as the ultimate TSV file, but will have the extension .xml.
For example, a data set definition that's going to produce the data source
"Language_stats.tsv" will be called "Language_stats.xml".
You can now use this data set definition to create a DITA CMS data source.
Related Links
The Data Set Definition dialog on page 499
BIRT example two: the DITA CMS data set definition on page 521
BIRT example one: DITA CMS data set definition on page 513
Note: If you change the TSV file name, this will create a new data set definition. If you
change the column definition information without changing the TSV file name, you will
overwrite the existing data set definition.
If you changed the TSV file name, then a new data set definition appears under the Data
Set Definition item.
If you kept the original TSV file name, then your original data set definition will be overwritten.
In both cases you will need to generate a new DITA CMS data source.
Related Links
Create the DITA CMS data set definition on page 505
Create the DITA CMS data source on page 507
DITA CMS creates its data source files in TSV format.You can open these files in any spreadsheet
application if you want to review their contents.
1. In the Queries panel of the Search view, expand the Data Set Definition item.
You can see the existing data set definitions.
2. Right-click the required data set definition and select Generate Data Set.
A data source with the same principal file name as the data set definition that produced
it appears under the Data Source item.
For example, the data source "Language_stats.tsv" is produced by the data set
"Language_stats.xml".
Related Links
BIRT example two: the DITA CMS data source on page 522
BIRT example one: DITA CMS data source on page 514
7. Use the Report templates list to select the template you want to use.
The Preview panel and Description will give you an idea of what the selected template does.
8. Select the required Report Orientation.
9. Click Finish.
The data source directory is automatically created in your local copy of the repository when you
create your first data source TSV file.
The full path to the data source directory in your local repository is copied to the clipboard.
You can paste this into the dialog where you specify the location of the BIRT data source.
C:\Users\malerm\workBIRT\REPOSITORY\ericm\marackix2\delenda\datasource\
510 DITA CMS User Guide for oXygen
The TSV data source that you created in the DITA Perspective becomes your data source in the
Report Design Perspective. This procedure shows you how to locate the TSV file and create a
new BIRT data source.
• Click the Browse button and then navigate the tree structure to the data source directory,
OR
• Enter the full path to the data source directory.
Tip: You can get the path from the Data Source item in the DITA Perspective's
Search view. See obtain the data source directory location.
The new data source appears under the Data Sources item in the Data Explorer view.
You must now create the BIRT data set.
Related Links
BIRT example one: BIRT data source on page 515
BIRT Reports 511
Once you've selected the set of columns, you can order them as you wish, rename them
or change their data type as appropriate.
You'll see the Data Sources associated with your report design in the Data Source Selection
pane.
You can reorder the columns using the up and down arrows on the right of the dialog.
Your new data set appears under the Data Sets item in the Data Explorer view. You can
expand your new data set to display the selected columns.
You can now start to bind your data set elements to your report design.
Related Links
BIRT example one: edit BIRT data set on page 516
BIRT example one: preview BIRT data set on page 517
In this example we’ll create a chart that shows the number of each different types of document
that are in the repository – concept, image, task, etc. – and the average file size of each type.
The chart will also show the maximum and minimum file sizes for each document type.
The screenshot also shows the selections on the right-click menu of the query: one of them is
Edit – that’s how you open the query in the editor area. Another selection is Dataset Definition –
that’s how you’ll open the dialog where you define the data set for the first time.
BIRT Reports 513
You’ll see the Data Set Definition dialog for the first time when you launch it from a personal
TEXTML query. You can go back later and modify the data set definition directly.
In the image below you can see the columns that we’ve selected for this data set and the
operations we’re going to perform on each.
• Column one – returns how many documents of each type are in the repository, and groups
them by type.
• Column two – calculates the average size of each type of document.
• Column three – calculates the maximum size for each type.
• Column four – calculates the minimum size.
514 DITA CMS User Guide for oXygen
At the top of the dialog, you can see that we’re going to use this data set definition to produce a
file called Aut_size_v3.tsv. This file will be our data source.
Related Links
Create the DITA CMS data set definition on page 505
You can click the file and open it in a spreadsheet application (if you’ve associated the extension
*.tsv with that application).
The image below shows what the data set definition has extracted from the repository. You can
see the various columns and the values in each of them. This is the TSV file that you’ll use as
your BIRT data source in the Report Design Perspective.
BIRT Reports 515
Everything up until this point has been done in the DITA Perspective, but after this you’ll need to
switch to the Report Design Perspective.
Related Links
Create the DITA CMS data source on page 507
After you’ve set up your report design, you need to connect it to the DITA CMS data source. The
image below shows the dialog that you can use to browse for the TSV flat file data source in the
repository. This becomes your BIRT data source. You’ll see it under the Data Sources item in
the Data Explorer view.
516 DITA CMS User Guide for oXygen
Related Links
Create a new BIRT data source on page 510
The first dialog is where you select the data source and give your data set a name. If you’re just
using a single DITA CMS data source, and you’ve set it up as outlined in BIRT example one:
BIRT data source, it will already be selected.
The second dialog is where you actually choose the data columns that you want to incorporate
into the report. This dialog shows the following:
You can see in the image below, that we’re not using all the columns that are available.
BIRT Reports 517
Related Links
Create a new BIRT data set on page 511
There are further options in the left hand pane of the dialog for modifying the data items you’ve
selected, but we’ll leave these for another example.
518 DITA CMS User Guide for oXygen
Related Links
Create a new BIRT data set on page 511
Now you can proceed with binding the data and laying out your report. When you’re finished, this
report will produce a chart which you can see in BIRT example one: final output on page 520.
BIRT Reports 519
520 DITA CMS User Guide for oXygen
The Authored Stamp returns all the dates when a document was promoted into the review cycle,
and the name of the user (or users) that performed the promotion.
• The first column of our data set definition extracts the year-month portion of the date.
• The second column extracts the user name.
You can also see the TEXTML query that the data set definition is based on. It’s simply a query
for all topics in the Authoring cycle.
522 DITA CMS User Guide for oXygen
Related Links
Create the DITA CMS data set definition on page 505
• The first column contains all the months when documents were promoted.This is the year-month
portion of the Authored Stamp.
• The second column shows the users who performed the promotions in that month.
As you’d expect, there are months when several writers are promoting their documents into
review: rows 6 and 7, for example.
BIRT Reports 523
The Document Count and Values Count columns are auto-generated for any grouping query
The Document Count column shows the number of documents returned by the combined grouping
criteria of the first two columns (columns A and B). In this case it's the number of documents that
were promoted in any given month by each writer.
The Values Count, however, is where things get interesting. This column reflects the number of
times that the documents were promoted into the review cycle. (It counts the number of dates in
the stamp.)
In some months (for some writers) the number is the same. In row 5, for example, you can see
that 33 documents went into review 33 times. Basically, they’re going into review and they’re not
coming back. Row 2 shows a values count of 27 and a document count of 26 – one of the
documents went through a second time. Nothing unusual about that.
But if you look at row 11 you can see that in this month, writer Jones sent 97 documents into
review and all them went through a second time; if not a third. This could be caused by a variety
of reasons – Jones might be a new writer, or is dealing with particularly difficult subject material,
or is simply overloaded with work. But it pinpoints a possible area of difficulty and lets you address
it.
Related Links
Create the DITA CMS data source on page 507
You’ll notice that for two of the columns that we’ve selected – Values Count and Document Count
– we’ve changed the Type to Integer. By default, all the values generated by DITA CMS are
returned as strings. We want to do a calculation in our report, so we’ve changed the data type
accordingly.
Now you can proceed with binding the data and laying out your report. When you’re finished, this
report will produce a chart which you can see in BIRT example two: final output.
BIRT Reports 527
Relationship tables
Topics: These procedures tell you how to use reltables in DITA CMS.
• Open the Reltable Editing Reltables let you create dynamic linking between topics,
Perspective from the DITA without compromising reusability.
Map view's menu
• Open the Reltable Editing
Perspective from the main
menu bar
• The Reltable Editing
Perspective
• Construct relationship
tables
• Configure relationship
tables
• Locate reltable rows where
a topic is used
• Filter reltable rows in the
Table Display area
• Relationship table
examples
530 DITA CMS User Guide for oXygen
This view provides a quick way of locating all the reltable rows that contain a selected topic or
topics.
When you highlight a topic in the DITA Map view, all the rows and tables where the topic is used
will be listed in the Relationship Outline view.
If you highlight more than one topic, then the Relationship Outline view will first display the rows
where both topics appear together, followed by lists of the rows containing each topic by itself.
Relationship tables 531
This view lets you quickly visualize the tables and constituent rows, as well as the cells and their
contents.
• The Table Display area shows the tables in your map as collapsible nodes with their rows
displayed beneath. You can right-click in this area to add and remove tables, rows, and cells.
• The Filter field provides a way of locating rows in the Table Display area. Enter any string,
and the Table Display area will show the rows whose names contain these characters.
• The Row Display area shows the contents of the row that's highlighted in the Table Display
area. The row name appears at the top. Each cell and its topics are displayed beneath. You
can right-click in this area to add and remove topic groups.
Related Links
Locate reltable rows where a topic is used on page 229
Filter reltable rows in the Table Display area on page 232
Locate reltable rows where a topic is used on page 229
Filter reltable rows in the Table Display area on page 232
532 DITA CMS User Guide for oXygen
DITA CMS lets you insert a pre-formatted table of type CRT into a map. The CRT table has a
single row, which contains three relcells. Each of these relcells has its type attribute set to
concept, reference, or task, respectively.
Note: The exact configuration of available pre-formatted tables may vary with your
installation – like the rest of DITA CMS, all the details are configurable. New templates
can also be created for your environment. See the DITA CMS Administrator's Guide for
more information.
You can retype these cells as you wish or add cells and rows of other types, as you find convenient.
A dialog box appears, asking you to enter a name for the table.
DITA CMS lets you insert a pre-configured row of type CRT Row.xml into your reltables.This
type of row contains three cells, whose type attributes are set to concept, reference, or task,
respectively.
Note: The exact configuration of available pre-formatted rows may vary with your
installation – like the rest of DITA CMS, all the details are configurable. New templates
can also be created for your environment. See the DITA CMS Administrator's Guide for
more information.
The number of cells per row and their type are configurable and may vary with your setup.
1. Open the Reltable Editing Perspective.
534 DITA CMS User Guide for oXygen
2. In the Table display area of the Reltable Editing view, highlight the table where you
want to add the row.
3. Right-click, then select Insert Row > CRT Row.xml.
A dialog box appears, asking you to enter a name for the row.
There may be times when you want to work outside the restrictions of a pre-configured row. DITA
CMS lets you add row elements directly to a reltable, so that you can configure them the way
that best suits you.
Note: After you've inserted the new row, it's a good idea to assign it a name. This allows
you to search for the row in the Table Display area.
1. In the Table Display area, highlight the row where you want to add the cell.
2. Right-click, then select Insert Cell > celltype.
where celltype is one of the following:
• concept.xml
• reference.xml
• task.xml
A new cell of the selected type is added to the reltable row and appears in the Row Display
area.
DITA CMS lets you add relcell elements directly to a reltable row, so that you can configure them
the way that best suits you.
1. In the Table Display area, highlight the row where you want to add the cell.
2. Right-click, then select Insert Element > relcell.
A new unconfigured cell is added to the reltable row and appears in the Row Display area.
When you crate a reltable, you specify its name, but you can change that name at any time after
the table is created.
1. In the Table Display area of the Reltable Editing view, highlight the table you want to
name.
2. In the Properties view, click in the entry field for the title attribute.
3. Type in the name you want to assign to the table.
When a reltable is created it will have a row named something like "Row 1". Use this procedure
to assign it a descriptive name.
1. In the Table Display area of the Reltable Editing view, expand the table that contains
the row you want to name.
2. Highlight the row.
3. In the Properties view, click in the entry field for the xtrc attribute.
4. Type in the name you want to assign to the row.
The new row name appears in the Table Display area and in the Row Display area.
Relationship tables 537
1. In the Table Display area of the Reltable Editing view, highlight the row where you want
to add the topic.
The selected row's contents appear in the Row Display area.
2. Drag the topic from the DITA Map or Search Results view into one of the cells in the
row.
The topic appears in the cell at the place you dropped it.
1. In the Table Display area of the Reltable Editing view, highlight the row where you want
to add the topic and its children.
The selected row's contents appear in the Row Display area.
2. Hold down the Alt key and drag the topic from the DITA Map or Search Results view
into one of the cells in the row.
The topic and all its children appear in the cell at the place you dropped it.
Topic groups let you create relationships among the topics within a reltable cell. The specifics of
the output they produce will depend on the XSL that is applied to them.
1. In the Table Display area of the Reltable Editing view, highlight the row where you want
to add the topic.
The selected row's contents appear in the Row Display area.
538 DITA CMS User Guide for oXygen
2. Right-click the reltable cell where you want to insert the group, then select one of the
following values:
Related Links
Reltable example three: linking topics of the same type on page 239
Reltable example five: creating sequences on page 242
Reltable example three: linking topics of the same type on page 239
Reltable example five: creating sequences on page 242
1. In the Table Display area, highlight the row you want to remove.
2. Right-click, then select Remove from RelTable.
1. In the Table Display area, highlight the row that contains the cell you want to remove.
2. Right-click the <relcell> line at the top of the cell, then select Remove from RelRow.
The cell and all its topics are removed from the reltable row.
If you have created a pre-configured CRT row you may at some point want to change a cell's
type so that it accepts other types of topics. Or you may want to remove the type attribute
altogether so that the cell accepts all types of topics.
Or, if you have created an untyped row, you may want to limit it to a specific type of topic.
1. In the Table Display area, highlight the row that contains the cell you want to re-type.
The selected row's contents appear in the Row Display area.
2. Highlight the cell.
3. In the Properties view, click in the entry field for the type attribute.
4. Enter the type you want to assign to the cell.
If you're removing the type, simply clear the contents of the field.
540 DITA CMS User Guide for oXygen
The cell type is reassigned and the new type appears in the Table Display area and in the
Row Display area.
If you have created a preconfigured row you may at some point want to change the cell's
collection-type to another valid value: "choice", for example. Or you may want to remove
the collection-type attribute altogether.
Or, if you have created an untyped row, you may want to restrict its display characteristics using
this attribute. Display characteristics, of course, will vary according to your XSL.
1. In the Table Display area, highlight the row that contains the cell whose type you want
to change.
The selected row's contents appear in the Row Display area.
2. Highlight the cell.
3. In the Properties view, click in the entry field for the collection-type attribute.
4. Enter the value you want to assign to the cell.
As of DITA 1.1, the valid values are:
• unordered
• sequence
• choice
• family
If you're removing the type, simply clear the contents of the field.
5. Click the Refresh button in the DITA Map view.
The cell collection-type is reassigned and the new type appears in the Table Display
area and in the Row Display area.
Relationship tables 541
You may at some point want to change a topic goup's collection-type from one type – such
as "family" – to another valid value: "choice", for example. Or you may want to remove the
collection-type attribute altogether.
1. In the Table Display area, highlight the row that contains the group whose type you
want to change.
The selected row's contents appear in the Row Display area.
2. Highlight the group.
3. In the Properties view, click in the entry field for the collection-type attribute.
4. Enter the value you want to assign to the cell.
As of DITA 1.1, the valid values are:
• unordered
• sequence
• choice
• family
If you're removing the type, simply clear the contents of the field.
5. Click the Refresh button in the DITA Map view.
The group's collection-type is reassigned and the new type appears in the Row Display
area.
Related Links
542 DITA CMS User Guide for oXygen
You have the option of setting up directional links between topics so that one topic can refer to
another, without having a link back in return (or vice versa).
You can set the linking properties of entire cells, of individual topics within cells, or for topic groups
within cells.
1. In the Row Display area of the Reltable Editing view, highlight the cell, topic, or topic
group.
2. You can set the linking direction in two ways:
• Right-click the cell, topic, or topic group and select Linking > <direction>, where
<direction> is one of the following:
• targetonly: The topic can only be linked to; it cannot make links to other topics.
• sourceonly: The topic can link to other topics; other topics cannot link to it.
• normal: The topic can link in both directions. This is the default value, and does not
have to be entered.
• none: A topic cannot link or be linked to.
• -dita-use-conref-target: In case of conrefs, indicates that the linking value
should be pulled in from the target.
• In the Properties view set the linking attribute to the required value.
The linking property of the object is set, and the appropriate link direction icons appear
next to the selected object.
Related Links
About linking direction in relationship tables on page 228
Reltable example four: linking direction on page 241
About linking direction in relationship tables on page 228
Reltable example four: linking direction on page 241
Relationship tables 543
You have the option of setting up directional links between topics so that one topic can refer to
another, without having a link back in return (or vice versa). For example, you might want numerous
small related procedures to have access to a conceptual topic; but you might not want all of the
many little topics showing up as links inside the concept.
You can set the linking direction on topics, groups of topics, or on entire cells. Icons next to the
objects indicate the linking direction.
• targetonly - the topic can only be linked to; it cannot make links to other topics. Indicated
by the following icon:
• sourceonly - the topic can link to other topics; but other topics cannot link to it. Indicated by
the following icon:
• none - a topic cannot link or be linked to. Indicated by the following icon:
• normal - the topic can link in both directions. This is the default value and does not have to
be entered. You can, however, use this value to override the attribute of a parent structure: if,
for example, you want just one topic within a topic group to link in both directions. Indicated
by the following icon:
In the screenshot below, both of the cells have the default linking: normal (bidirectional). So does
the topic group in the task cell, as a whole. However, one of the topics in the group – Vote on a
document – is designated as "sourceonly". None of the other members of the group or the concept
cell will be linked to it; but it will link to all the others.
The topic in the concept cell, on the other hand, has been designated "targetonly". All the other
cells in the row will link to it, but it will not be linked back to them.
Note: Your system must use UTF-16 character encoding with the East Asian language
pack installed, or the linking arrows will not display properly.
544 DITA CMS User Guide for oXygen
Related Links
Set linking direction on page 227
Set linking direction on page 227
If you highlight more than one topic, then the Relationship Outline view will first display the rows
where both topics appear together, followed by lists of the rows where each topic appears on its
own.
Note: This information is retrieved from the repository. If you've recently put a topic into
a reltable, you'll need to release the map before you can view the rows where it's being
used.
• In the DITA Map view, highlight the topic or topics you want to locate.
The Relationship Outline view displays the table(s) and row(s) where the topic(s) is used.
In the following example, you can see in the Relationship Outline view that the topic
"Assign documents to users" appears in the row "Document assignments" in a
reltable called "Projects".
Relationship tables 545
In the next example, you can see that the topic "Set document due dates" appears
in two rows in the reltable called "Projects"; it also appears in one row of the reltable
"Tutorials".
In the next example, two topics are selected in the DITA Map view. The Relationship
Outline view shows that the selected topics both appear in the "Document
assignments" row of the reltable called "Projects". It then list the rows and tables
where each topic appears on its own.
546 DITA CMS User Guide for oXygen
Related Links
The Reltable Editing Perspective on page 216
The Reltable Editing Perspective on page 216
• In the Filter field of the Relationship Table Editor, type in characters contained in the
names of the rows you want to locate.
The Table Display area shows rows where the string is used.
Note: The filter function examines all text in the reltable, including the tags. So if you
type in the string "ro", you'll see all the rows in the reltable, since they all begin with
the tag <relrow>.
The screenshot below show the results of entering "as" into the Filter field. The two
rows containing that string are displayed: "Document assignments" and "Assign
values".
Relationship tables 547
The following screenshot shows the rows displayed when the string "va" is entered.
Related Links
The Reltable Editing Perspective on page 216
The Reltable Editing Perspective on page 216
548 DITA CMS User Guide for oXygen
The screen capture below shows the Reltable Editing Perspective. The DITA map view has been
expanded, and three topics are highlighted. These are the ones that are being used in the reltable.
The Relationship Table editor is also open, with the “oil change” row highlighted. You can see
that each of the highlighted topics is in the row appropriate to its topic type:
The example uses the default linking – normal – as indicated by the decoration ( ). Normal
linking means that the links will be reciprocal: the task will refer to the concept and the concept
will refer to the task. And likewise for the task and reference topics. Each topic is linked to both
of the others.
You can see the output this produces in Example One: CRT row output.
Relationship tables 549
Related Links
Add a pre-configured row to a reltable on page 219
550 DITA CMS User Guide for oXygen
If you followed either of these two links, you’d see that these topics are each linked back to the
topic shown below.
Related Links
Relationship tables 551
Reltable example two: links are between cells – not within cells
When you add topics to a relationship table cell, those topics link to the topics in the other cells
– not to each other.
For example, I could add another topic to the Concept cell in the reltable shown in Example One:
CRT row structure.
If we look at the output for the task topic (Figure "Task Topic Output"), we can see that the new
concept topic has been added as a link.
But if we look at either of the concept topics, we’ll see that there is no link between them (Figure
"Concept Topic Output"). The links are between topics in adjacent cells.
552 DITA CMS User Guide for oXygen
Related Links
Add a pre-configured row to a reltable on page 219
Add a pre-configured row to a reltable on page 219
In the Eclipse help output each topic shows up in the others’ Related Links as a Related Task
(Figure "Relcell Output").
554 DITA CMS User Guide for oXygen
Related Links
Insert a topic group into a reltable cell on page 223
Insert a topic group into a reltable cell on page 223
Relationship tables 555
In the example below (Figure: "Reltable Contents"), we can see how several localization tasks
– shown in the left-hand cell – are all given a related link to a single task (which deals with setting
up a place on your hard drive where files will automatically be saved).
In order to suppress related links pointing back from the Configuration topic to all the tasks in the
left-hand cell, we’ve set the linking direction on that topic to “targetonly” ( ).
You can look at the related links produced by this reltable row by visiting any of the topic links
below.
• Configure import and export directories (note that this topic has no links to any of the topics
in the left-hand cell)
• Import a localized map and its topics
• Import localized images
• Prepare an image localization kit
• Prepare the localization kit
It’s worth noting that the topics in the left hand cell will not be linked with each other. Links are
always between adjacent cells.
Related Links
Set linking direction on page 227
Set linking direction on page 227
556 DITA CMS User Guide for oXygen
In this example we’ll create the contents of the topic “Motoring Vacation Checklist” from the topics
indicated in the picture (below).
Relationship tables 557
1. Dragging the container topic (Motoring Vacation Checklist ) into a task-typed cell, and then
2. Dragging the component tasks in as children of that topic
558 DITA CMS User Guide for oXygen
Then we’ll set the collection-type of the container topic to sequence, using the Properties view.
Relationship tables 559
The finished Motoring vacation checklist would appear in Eclipse Help as shown below. The topic
titles become the numbered steps. The <shortdesc> elements furnish the text below the steps.
560 DITA CMS User Guide for oXygen
Related Links
Change the collection-type of a topic group on page 226
Insert a topic group into a reltable cell on page 223
Change the collection-type of a topic group on page 226
Insert a topic group into a reltable cell on page 223
30 Production
Production
You can also use Generate Output to create final output for
a document. Final output is generated from published maps
with the status Published:done (or its equivalent in your
deployment).
562 DITA CMS User Guide for oXygen
Publish
Publish creates an official copy of the document deliverable that can then be generated in any
of the available formats.
To publish a document, the map and all its referenced files – including those referenced
by conrefs or related-links – must have reached their final state.
Use Publish when you are ready to create a final, official version of a document: the one you
intend to use for publishing in various formats and to send to localization.
Files must be assigned a version label every time they are published. The version identifies
completed files for a specific release. The version label that you assign to the map is assigned,
in turn, to all the files in the project. If a file is published in more than one document, it will have
a label for each publication. If you want to see a file's version labels, look in the file's Properties.
Tip: You can use the version label in your search criteria to find published topics, maps,
and images.
• In the DITA Map view, right-click the map and select Publish.
• In the Todo List, right-click the map and select Publish.
• In Project Management view, select the deliverable(s) you want to publish, then right-click
and select Publish.
You can select one map, select several maps by holding down CTRL or SHIFT and
clicking the maps, or right-click on the Deliverables node to select all the maps within a
project.
5. Click Run in Background if you want to hide the Progress Information dialog and
continue working in Eclipse.
The Progress Information dialog will be minimized into the trim at the bottom of the workspace.
You can click the Results icon to restore the Progress Information dialog or to view the results
of the operation.
A copy of the map and its contents is created in the published area.
Note: You won't be able to archive a map that has only been published as a component
of another map. Only a map that has been published as a top-level map will have the
Archive action available.
1. Use Search with the Published checkbox selected to display maps in the Published
cycle.
2. In the Search Results view, right-click the required map and select Archive.
The map disappears from the Search Results view.
The map and all its documents are moved to the archive section of the repository.
Generate output
The Generate Output command creates document deliverables in different formats.
You can generate the output of a single topic, a selected group of topics, or an entire map. You
can even select several maps and generate the output for all of them.
The generated output is saved as a ZIP file on your local file system. If you generate the output
for a single topic or map, the ZIP file contains either a single file of the output type you selected,
or a folder structure that produces the selected file; the specifics vary according to the output
type selected and your system's configuration.
564 DITA CMS User Guide for oXygen
If you are generating output for a single topic, the ZIP file name is compounded from the file name
and its language: Change_the_Oil.English.zip, for example.
If you have selected several topics or maps for output generation, then a file called
outputgenerator_bundle.zip will be produced. This file contains other ZIP files—one for each
document selected—each named as described above.
Note: Output is generated from the documents in the repository—not from the files you
have locked on your machine. If you have unreleased documents in your map, you will
not get the most recent content from the locked items.
The fields and selections that appear in this dialog are configurable by the CMS Administrator.
The dialog above shows the current configuration at IXIASOFT.
Note: If no DITAVAL files exist in your Content Store, the DITAVAL box will not appear
on the Generate Output dialog.
6. (Optional) To open the folder that contains the generated output when the
transformation is completed, select Open output folder when done.
7. To unzip the generated output when the transformation is completed, select Unzip
when done.
When you select this option, the Output Generator unzips the generated output in the output
folder, in a sub-folder with the file name. For example, if the output directory is called Outputs
and the generated output is saved in a file called
Web_Author_Installation_Guide.Dita2Pdf.English.zip, the file is unzipped in the
Outputs\Web_Author_Installation_Guide.Dita2Pdf.English directory.
If you select both the Open output folder when done and Unzip when done options, the
Output Generator opens the folder that contains the unzipped files.
8. (Optional) To save the Output Format you selected, click the diskette icon at the bottom
of the dialog.
Your selection will be used as the default value in the Generate Output dialog. You'll see it
the next time you generate output.
9. Click Create.
A Progress Information dialog appears as the output is generated.
10. (Optional) Click Run in Background if you want to hide the Progress Information dialog
and continue working.
The Progress Information dialog will be minimized into the trim at the bottom of the workspace.
You can click the Results icon to restore the Progress Information dialog or to view the results
of the operation.
11. When output generation is finished you have the following options:
• If Auto save is enabled, the Generate Output dialog displays the location where the file
was saved. Click OK.
Production 567
• If Auto save is not enabled, the Save As dialog appears. Confirm or change the proposed
filename and location, then click Save.
Auto save is set when you configure your import and export directories.
You can use these checkboxes to include or exclude marked content from your output. The way
these checkboxes work is not completely logical, but it's important to understand.
Let's say you have a map with a bunch of topics. Each topic contains some elements marked
@product="gadget," @product="thingy," and @product="widget." When you select Generate
Output, the window looks something like this:
If you leave all checkboxes unchecked, you're telling the Output Generator to include
everything—all conditions—in your output. Now you might conclude from this that an unchecked
box means "include." You'd be logical but you'd be wrong. An unchecked box only means "include"
when all boxes are unchecked.
As soon as you check a box, the whole picture changes. When you check a box, the meaning
of that checked box becomes "include" and the meaning of unchecked boxes becomes "exclude."
So, in this example, you're telling the Output Generator to include content marked
@product="gadget" or @product="widget" but exclude content marked @product="thingy":
568 DITA CMS User Guide for oXygen
One implication of this approach is that if you want to use the checkboxes to exclude, you have
to have more than one checkbox under a given attribute. For example, say your content contains
one value for @otherprops, "thing1".You want to exclude all content where @otherprops="thing1"
and include everything else. When you go to generate output, you have only one checkbox under
otherprops: thing1. With only one checkbox, obviously you can't force the CMS to make a
distinction between a checked and an unchecked value for @otherprops. In such a case, what
you need to do is add another value for @otherprops somewhere within your content, for example,
"all". You only need to add this other value to one topic. Doing so creates a second checkbox
under otherprops for that value.You can then check that box and leave the thing1 box unchecked
to force the exclude.
31 Using the Build Manifest
feature
Topics: This section describes how to use the Build Manifest feature.
• Understanding the Build
Manifest feature
• Create a Build Manifest
• Set default values for
ditaval files, languages, and
user parameters
• Add and configure output
types
• Output a Build Manifest
• Search for a Build Manifest
570 DITA CMS User Guide for oXygen
Let's take the DITA CMS User Guide as an example.This document is generated in three different
output types:
• xHTML
• PDF
• Eclipse help
There are two flavors of this document—oXygen and XMetaL—so two different outputs must be
generated for each output type.
For the purpose of this example, we'll also assume that the User Guide is available in 3 languages:
• English
• French
• Japanese
This means that a total of 18 outputs (3 output types * 2 flavors * 3 languages) need to be
generated for the User Guide. With the Build Manifest, instead of having to call the Generate
Output command 18 times, you generate the output of a single object—the Build Manifest
object—which generates these 18 outputs.
Using the Build Manifest feature 571
Just like any object, the Build Manifest goes through a DITA CMS workflow. When you create a
Build Manifest object, it's in Authoring:work (or the equivalent in your workflow). The object
must be locked before you can work on it, and you release it when the work is completed.
IXIASOFT provides a script that you can run to process multiple Output Generator jobs in batch
without having to use the DITA CMS Eclipse client. You can call the NightBuild script directly on
the command-line or create a batch file that will store the parameter values you want to use for
the script.
Using the NightBuild with the Build Manifest can be very useful. You use the DITA CMS Eclipse
Client to create the Build Manifest for a map, and then you output the Build Manifest from the
NightBuild script.
For more information about the NightBuild script, contact IXIASOFT Support.
1. In a view that lists the map, right-click the map and select Create Build Manifest.
The Create Build Manifest window is displayed:
572 DITA CMS User Guide for oXygen
The following table describes the fields in the Build Manifest window:
Field Description
Field Description
Notify Email address of the person to notify when the build is completed.
This does not have to be a DITA CMS user.
1. address@xyz.com
2. name <address@xyz.com>
3. <address@xyz.com> name
4. (name) address@xyz.com
5. address@xyz.com (name)
3. To open the Build Manifest after you created it and configure the default values and
output types, select Open build manifest in default editor.
4. Click Create.
The Build Manifest object is created. If you selected the Open build manifest in default
editor, the Build Manifest object is opened in the DITA CMS, as shown below, and the values
you entered in the Create Build Manifest window are displayed:
Using the Build Manifest feature 575
• Default values: Specifies general information about the Build Manifest. It also lets you
configure default values for ditaval files, languages, and user parameters. The default
values are used for all the output types defined in the Build Manifest, unless you override
them for a specific output type.
• Outputs: Specifies the different types of output into which to transform the source map.
You can override the default ditaval, language, and user parameter values for an output
type in this tab.
• XML Preview: Provides the XML preview of the Build Manifest object. You cannot modify
the XML source.
The next step is to set default values for ditaval files, languages, and user parameters.
576 DITA CMS User Guide for oXygen
When you define values for a specific output type, the default values are ignored for that output
type.
You can also override the following values for the output type:
• Ditaval: Ditaval file that will be used for this output type. If you specify a ditaval file for the
output type, the default ditaval file specified in the Default values tab (if any) will be ignored.
• Languages: Languages that will be used for this output type. If you specify a language for the
output type, the default language(s) specified in the Default values tab (if any) will be ignored.
• User parameters: User parameters that will be used for this output type. These are the user
parameters that are defined in the transformation scenario for the output type. If you specify
parameters for the output type, the default parameters specified in the Default values tab (if
any) will be ignored. The name specified in the Key must match *exactly* the name of the user
parameter as defined in the preprocessors.xml file of the Output Generator.
Important: User parameters are not cumulative. For example, if you set parameter
values at the Default level and then set other parameter values at the Output type levels,
only the parameters set at the Output type level will be used.
Depending on the Build Manifest template that you are using, one or more output types may
already be defined.
2. To add a new output type, right-click in the Output types area and select Add.
A new output type is added in the Output types area. By default, the output type is enabled,
meaning that it will get generated.
3. Select the new output type and specify the information for this type in the Output type
information area, as follows:
Option Description
Type Select the output type
Note: If the Type field is displayed in red and you cannot select
an output type, this means that there is no Output Generator
running. You must connect to a running Output Generator before
you can configure an output type.
Status Select one of the following:
• To generate this output type when you generate the build manifest,
select Enabled.
• Otherwise, select Disabled.
4. To configure a ditaval file, user parameters, or languages specifically for this output
type, select the output type and click Override default ditaval/languages/parameters.
The Overridden output values area appears.
5. To override a ditaval file:
a) In the Ditaval field, click the ... button.
The Ditaval dialog is displayed.
b) Select the ditaval file to use and click OK.
6. To override languages, select the languages in the Languages field.
7. To override user parameters:
a) In the User parameters area, right-click the area and select Add.
The User parameters window is displayed.
b) In the Key field, enter the name of the user parameter.
Note: The name specified in the Key must match *exactly* the name of the user
parameter as defined in the preprocessors.xml file of the Output Generator; for
example, ixia.args.rellinks.
c) In the Value field, enter the value for this user parameter.
d) Click OK.
The parameter is added to the window.
e) Repeat for every default user parameters that must be set.
8. Repeat this procedure for every output type to generate.
9. Save the Build Manifest.
The following diagram shows the Output type tab for the DITA CMS User Guide. Six output
types are created for this document:
This is necessary since the oXygen and XMetaL versions require different ditaval files and user
parameters.
580 DITA CMS User Guide for oXygen
This procedure describes how to output a Build Manifest using the Generate Output command
in the DITA CMS Eclipse Client. You can also use the NightBuild script to generate the output.
For more information, contact IXIASOFT Support.
When you output a Build Manifest in multiple languages, the localized content must be in the
Localization:done state (or the equivalent in your deployment), otherwise the output will not be
generated for this language. This ensures that only final localized content is output (as opposed
to content that is partially translated).
Using the Build Manifest feature 581
Generating a Build Manifest can take a long time, depending on the size of your maps and the
number of output types/languages configured. Therefore, IXIASOFT recommends that you
configure an output directory and select the Auto-Save option so that the Build Manifest outputs
are saved automatically when the operation is completed. See Configure import and export
directories on page 613 for more information.
<build_manifest_title>.BuildManifest.<authoring_language>.zip
For example:
DITA_CMS_User_Guide-Build_Manifest.BuildManifest.English.zip
<output_type_1>
authoring --> Contains output 1 for the source language
localization
<language1> --> Contains the output for the localized language 1
...
<languagex> --> Contains the output for the localized language x
...
<output_type_x>
authoring --> Contains output X for the source language
localization
<language1> --> Contains the output for the localized language 1
...
<languagex> --> Contains the output for the localized language x
For example, the 18 outputs for the DITA CMS User Guide might be packaged as follows:
582 DITA CMS User Guide for oXygen
About localization
Localization is the process of translating the content and adapting it for use in another language.
"Translate" and "localize" are often used interchangeably, but they are a bit different. More
accurately, localization is translation taken a step further. For example, say an auto parts guide
is written in German and translated to English. The initial translation is to British English, so the
guide refers to a "windscreen." While a U.S. audience would probably understand the reference,
to truly make the guide as "native" as possible, it should be localized to U.S. English, where the
"windscreen" becomes a "windshield."
The xml:lang attribute in DITA topics can be used to make this distinction. In typical deployments,
it specifies both the language and locale of the topic; for example, pt-br (Portuguese-Brazil) or
pt-pt (Portuguese-Portugal). (Note that your environment may use this attribute differently).
The following diagram shows an overview of the localization process in the DITA CMS.
Note: This process is based on the default localization workflow provided with the DITA
CMS. Your workflow and its statuses may differ.
Localizing documents with the DITA CMS 587
The process begins when you select the Localize command and specify the set of target
languages. When you localize a map, copies of the map and its contents (topics, images, and
referred topics) are created in the localization area—one set for each language you selected.
When you localize a topic, that topic, its images, and referred topics are created. The files have
the status Localization:tb translated.
If auto-translation is enabled, and a previous translation exists, the CMS will try to auto-translate
as much of the topics as possible based on previous translations of the same topic.
Note: In the concurrent localization model, if a document was fully translated during
auto-translation, it may have the status Localization:machine translated (depending on
your configuration). See Concurrent localization model on page 593 for more information.
588 DITA CMS User Guide for oXygen
The next step is to prepare the localization kit; this is the set of files that you’ll be sending to the
translation team for localization. You might need to prepare two localization kits:
• A localization kit, which contains the maps and topics to translate. The files are provided in
XLIFF or DITA format, depending on the localization method used. The kit may also contain
some of the following files: PDF files of the current version and the previous translation (if any)
to provide context for the translation, as well as the .image containers for the images referenced
by topics being translated. It doesn't include the actual images. If you need to translate some
or all of the images, you also need to create an image localization kit.
• An image localization kit, which contains the images that are included in the map or topic.
An image localization kit includes all the image formats available so that they can all be
localized. Images are sent in a separate localization package since they are treated differently
in translation.
After you have prepared the localization kits, the files are in the Localization:in translation
status.
When the localized files are returned from translation, they are imported back in the DITA CMS.
You first import the localized images back into the system (using the Import localized images
command) before you import the localized map and its topics (using the Import localized content
command). The system promotes the files to Localization:review.
You can now review the content of the localized files. You can return them to the Localization:tb
translated status if there are issues with them, or you can complete the process by putting the
files in the Localization:done status.
When the map and all its contents have reached the Localization:done status, you can create
a snapshot of the map.
At any time, you can create a pre-localization kit, which is a snapshot of the content that’s under
development; you send it to the translation team so that they can prepare their translation memory.
Pre-localization kits can contain as many output languages as you require. They can be generated
at any point in the document development cycle, and this operation does not change the status
of the files.
Localizing documents with the DITA CMS 589
In this model, when you localize a source object for the first time, the DITA CMS creates a new
object in the target language. This language object is then updated when a new version of the
source object is sent to localization, so there is a one-to-one mapping between the files in
localization and their authoring sources. In the sequential localization model, the files are sent
to the translation team in DITA format.
In this model, each localization creates a "branch" of the content in localization, one set for each
language selected. Therefore, a new file is created in the localization workflow each time a new
revision of a source object is localized. There are two flavors of the concurrent localization model:
• Node-based localization method: This is the original version of the concurrent localization
method in the DITA CMS (for clarity, this original version was renamed node-based localization
in DITA CMS 4.1). In the node-based localization method, when the files are exported to the
localization kit, they are converted into an XLIFF format used by translation memory tools.
They remain in DITA format in the DITA CMS.
• Concurrent localization method: This is the new version of the concurrent localization method
introduced in DITA CMS 4.1. It includes the following new features:
Note: To differentiate between the two flavors of the concurrent localization model, the
original version was renamed node-based localization method in DITA CMS 4.1. The term
concurrent localization method is used to refer to the improved version introduced in 4.1.
The node-based localization method will be deprecated in an upcoming DITA CMS release.
590 DITA CMS User Guide for oXygen
If you are currently using the node-based localization method, IXIASOFT highly
recommends that you upgrade to the new concurrent localization method. Please contact
IXIASOFT Support for more information.
Figure 70: First localization of an object in the sequential localization model on page 591
shows the process for the first translation of an object in the sequential localization model. When
a source object is translated for the first time into a language, the DITA CMS creates a new object
in the target language (called language object in this document). This language object has its
own Revision number as well as an Authoring Revision property, which stores the revision
number of the source object when it was sent for translation. For example, if you send for
translation a source object that is at Revision 6, a new language object is created in Localization
with its own Revision number of 1 and an Authoring Revision of 6.
The language object file keeps the same name as the source object file. Its content is still in the
original language (for example, English), but its language attribute is set to the target language.
The language object has the tb translated state.
When you prepare the localization kit to send the files to the translation team, the language object
still has the same Revision number (for example, 1), but its state is now in translation. The files
sent to the translation team are in DITA format.
When translated content is imported into the DITA CMS, a new revision of the language object
is created (e.g., Revision 2), and its state is changed to review so that the translated content
can be reviewed internally. The Authoring Revision is not updated so that it is always possible
to correlate a language object with its original source. If the translation is updated during the
review process, a new revision of the language object is created (for example, 3).
When the translation is approved, its state is changed to Done, and you can now publish the
localized map.
Localizing documents with the DITA CMS 591
Subsequent localizations
If this revision has not been sent for localization (for example, the corresponding language object
is at Authoring Revision 6), the DITA CMS then checks the status of the corresponding language
object in Localization:
If auto-translation is not enabled (or a previous translation does not exist), the DITA CMS
creates a new revision of the language object; the content is still in the original language.
Figure 72: First localization of an object in the concurrent localization model on page 594
shows the process for the first translation of an object in the concurrent localization model. The
first translation of a source object in the concurrent localization model happens exactly as with
the sequential localization, but the language object created includes the authoring version number
in its name. For example, consider a document named abc1386692219292.xml that is at revision
6. When this document is localized, a file named abc1386692219292_00006.xml is created in
each target language.
This language object has its own Revision number as well as an Authoring Revision property,
which stores the revision number of the source object when it was sent for translation. Its content
is still in the original language (for example, English), but its language attribute is set to the target
language. The language object has the tb translated state.
When you prepare the localization kit to send the files to the translation team, the language object
still has the same Revision number (for example, 1), but its state is now in translation. The files
sent to the translation team are extracted from the DITA CMS and then converted to the XLIFF
format.
When translated content is imported into the DITA CMS, a new revision of the language object
is created (e.g., Revision 2), and its state is changed to review so that the translated content
can be reviewed internally. The Authoring Revision is not updated so that it is always possible
to correlate a language object with its original source. If the translation is updated during the
review process, a new revision of the language object is created (for example, 3).
When the translation is approved, its state is changed to Done, and you can now publish the
localized map.
594 DITA CMS User Guide for oXygen
Subsequent localizations
When a new revision of a source object is sent to localization (for example, Revision 9), the DITA
CMS does not update the language object, as with the sequential localization model. Instead, it
first checks to see if this revision has already been sent for localization (for example, if it was part
of a another map already sent for localization). If so, the localization process skips the file.
If this revision has not been sent for localization, it creates a new object in the target language,
and its name includes the authoring version number (for example, abc1386692219292_00009.xml).
This new localization object has no impact on the previous translation (named
abc1386692219292_00006.xml). This is why this model is concurrent: multiple language objects
of the same source object exist concurrently.
The new language object has its own revision number at 1 and its status is set to Localization:tb
translated, as shown in Figure 73: Subsequent localizations of an object in the concurrent
localization model on page 595.
Localizing documents with the DITA CMS 595
Auto-translation is always enabled for the concurrent localization model. If a previous translation
exists with a Localization:done status, the DITA CMS then auto-translates the content using
the translated text from the previous version of the language object (that is, the Localization:done
version).
If the language object was fully translated during auto-translation, the DITA CMS creates a new
revision of the language object with the auto-translated content and sets its status to
Localization:machine translated (or its equivalent in your workflow, depending on your
configuration). Otherwise, the next step depends on whether your system is configured to accept
partially auto-translated documents.
If partially-translated documents are accepted, then the DITA CMS creates a new revision of the
language object with the partly translated content and sets its status to Localization:tb translated.
Otherwise, the partial translation is rejected and the source content is sent in the localization kit.
With the concurrent localization model, there is no dependency between the various authoring
revisions that are sent to translation; a new authoring revision can be sent to translation
independently of the localization status of the previous authoring revision.
Preparing a pre-localization kit lets you take a snapshot of the content that’s under development
and send it to the translation team so that they can prepare their translation memory.
Pre-localization kits can contain as many output languages as you require.
When a pre-localization kit is prepared, the CMS attempts to auto-translate as much as possible
of the map and its topics, based on previous translations (if there are any). The result is
concatenated into one file per language you select.
The localization process requires a substantial amount of system resources. If you are localizing
several maps in many different languages you may notice an impact on your computer's
performance.
Pre-localization kits may be generated at any point in the document development cycle, and from
any view in DITA CMS.
596 DITA CMS User Guide for oXygen
The pre-localization kit is output in XLIFF format and DITA format. Each XLIFF translation unit
contains the original source text. It also contains the automatically translated text, or a copy of
the source text if auto-translation was not possible.
1. Right-click the map and select Localization > Prepare Pre-Localization Kit from the
menu.
The Select Languages dialog appears.
2. In the Select Languages dialog, select the required language(s).
3. Click Create.
The Generate Kit dialog appears as the localization kit is generated and zipped.
4. After the localization kit is prepared you have the following options:
• If Auto save is enabled, the Generate Kit dialog displays the location where the file was
saved. Click OK.
• If Auto save is not enabled, the Save As dialog appears. Confirm or change the proposed
filename and location, then click Save.
Auto save is set when you configure your import and export directories.
Related Links
Configure import and export directories on page 613
During localization, if auto-translation is enabled, the DITA CMS will try to auto-translate as much
of the topics as possible based on previous translations of the same topic.
Note: By default, auto-translation is always enabled in the concurrent localization method.
It is optional in the sequential localization method. See your CMS Administrator to know
which method you are using and whether auto-translation is enabled.
Localizing documents with the DITA CMS 597
The localization process requires a substantial amount of system resources. If you are localizing
several maps in many different languages you may notice an impact on your computer's
performance.
The map and its topics now have the status Localization:tb translated (or its equivalent
in your workflow).
You must now create:
1. In the Cycles panel of the Search view, select the Localization checkbox.
598 DITA CMS User Guide for oXygen
2. In the Document Types panel of the Search view, select Maps or Topics, depending
on whether you are localizing a map or a topic.
3. In the Languages panel of the Search view, select the target translation languages.
4. Click the Search button.
5. In the Search Results view, right-click the map or topic you are localizing and select
Localization > Prepare Image Localization Kit from the menu.
A Progress Information dialog appears as the image localization kit containing all the images
in the map or topic is generated and zipped.
6. After the image localization kit is prepared you have the following options:
• If Auto save is enabled, the Prepare Image Localization Kit dialog displays the location
where the file was saved. Click OK.
• If Auto save is not enabled, the Save As dialog appears. Confirm or change the proposed
filename and location, then click Save.
When the localized images are returned from translation, you'll need to import them back
into the system.
Related Links
Configure import and export directories on page 613
Start the localization process on page 596
• If preparing a localization kit for a map, the map's title must be in an element – not an attribute.
• The map or topic must have the status Localization:tb translated (or its equivalent in your
workflow).
The following table describes the contents of the localization kit according to the localization
method configured:
Localizing documents with the DITA CMS 599
A ZIP file that contains the following: A ZIP file with the content in XLIFF format, as
follows:
• A <language> directory (for example,
ja-jp) that contains the map and its topics • The map and its topics in XLIFF format.
in DITA format. If auto-translation is enabled Each XLIFF translation unit contains the
and a previous translated copy existed, the original source text. It will also contain the
files will contain the automatically translated automatically translated text (or a copy of
text. Depending on the configuration, this the source text if auto-translation was not
directory may include the .image containers possible). Depending on the configuration,
for the images in the map for context. this directory may include the .image
• (Optional) A file called originals.zip. This file containers for the images in the map for
is saved in the <language> directory and context.
contains the current version of the document • Two PDF files: filename_current.pdf and
sent for localization in a format configured filename_lasttranslation.pdf (optional).
by your CMS administrator (for example, These contain the current version of the
PDF, HTML, etc.). If auto-translation is document (including auto-translated text, if
enabled, this document includes the available) and the previous translation (if
auto-translated text. there is one).
• (Optional) A file called lasttranslation.zip. A ZIP file with the content in DITA format, as
This file is saved in the <language> directory follows:
and contains the previous translation of the
document in a format configured by your • A <language> directory (for example,
CMS administrator (for example, PDF, ja-jp) that contains the map and its topics
HTML, etc.). in DITA format. If auto-translation is enabled
and a previous translated copy existed, the
files will contain the automatically translated
text. Depending on the configuration, this
directory may include the .image containers
for the images in the map for context.
• (Optional) A file called originals.zip, which
contains the current version of the document
sent for localization in a format configured
by your CMS administrator (for example,
PDF, HTML, etc.). If auto-translation is
600 DITA CMS User Guide for oXygen
Note: A localization kit must be prepared for each of the target languages.
The localization process requires a substantial amount of system resources. If you are localizing
several maps in many different languages you may notice an impact on your computer's
performance.
1. In the Cycles panel of the Search view, select the Localization checkbox.
2. In the Document Types panel of the Search view, select Maps or Topics, depending
on whether you are localizing a map or a topic.
3. In the Languages panel of the Search view, select the target translation languages.
4. Click the Search button.
All maps or topics that are being localized in these languages appear in the Search Results
view.
5. In the Search Results view, right-click the required map(s) or topic(s) and select
Localization > Prepare Localization Kit from the menu.
The Generate Kit dialog appears as the localization kit is generated and zipped.
6. After the localization kit is prepared you have the following options:
• If Auto save is enabled, the Generate Kit dialog displays the location where the file was
saved. Click OK.
• If Auto save is not enabled, the Save As dialog appears. Confirm or change the proposed
filename and location, then click Save.
The localized objects now have the status Localization:in translation (or its equivalent in
your workflow).
When the files returns from translation, it must be imported back into the system.
Localizing documents with the DITA CMS 601
Related Links
Document development process on page 43
Document status dependencies on page 46
Configure import and export directories on page 613
Start the localization process on page 596
The images are copied into the system and given the status Localization:review (or its
equivalent in your workflow).
Related Links
Configure import and export directories on page 613
It's a good idea to import your localized images first and make sure that they all have the review
status. If you have done this, then when you import the localized map or topic, the system will
automatically set the status of these files to Localization:review/Localization:translated or its
equivalent in your workflow.
602 DITA CMS User Guide for oXygen
If, on the other hand, some of the images referenced by the topics still have Localization:in
translation status (or its equivalent in your workflow), then the system will keep these imported
topics (and their map) at this status too, and you'll have to promote them all manually at some
point in the future.
Note: It is possible to have the DITA CMS handle most of the complex operations by
using a combination of specific status configuration and triggers. For example, your system
could be configured to behave as follows:
• During the import process, the system checks the status of the image files referenced
by the topics. If any of these images still have Localization:in translation status, then
the referring topics (and consequently the map) are assigned the status
Localization:awaiting images.
• These topics will stay at this status until their translated images are imported into the
system. At this time the CMS will automatically promote the topics to
Localization:translated status. When all images have been returned and all topics have
been promoted to the translated state you’ll be able to promote the map to
Localization:translated as well.
Tip: You can configure a default directory where the Import Localization Package
dialog will open automatically.
The Import Localization Package dialog is displayed, listing the localized files.
3. Click Import.
The files are imported into the DITA CMS and given the status Localization:review (or its
equivalent in your workflow).
You can now complete the localization process by reviewing the localized files and approving
them or returning them to localization.
Related Links
Configure import and export directories on page 613
You can revert a topic at any point in the Localization cycle. The reverted topic’s status is set to
Localization:tb translated (or its equivalent in your workflow).
For example, if you revert a referable-content topic that’s reached Localization:done, then all the
topics that reference that topic will have their status set to their initial Localization state as well.
These topics will be included in the localization kit, when it is generated. Their content, however
will remain unchanged and they need not be sent to the translation team.You can safely set their
status to Localization:done (or its equivalent in your workflow) once the referable-content topic
is finished and re-imported into the repository.
1. Right-click the appropriate topic(s) and select Localization > Retranslate from Source.
2. When the localization process is complete, the Retranslate dialog displays a message
telling you that the operation was successful.
3. Click OK.
604 DITA CMS User Guide for oXygen
However, there might be cases where you want your content to be reviewed again by the localizers,
even if the content has not changed from the previous translation. This is done by running the
linguistic review process, which removes the translate="no" attribute from auto-translated
text.
The linguistic review process is executed when you run the Prepare Localization Kit command
on localized maps that are in the Localization:review status.
Requirements
• This process requires specific configuration and works for the sequential and node-based
localization methods only.
• This process also assumes that auto-translation is enabled in your configuration and that
content has already been translated at least once.
See your CMS Administrator to determine if this process is enabled in your deployment.
Workspace configuration
Topics: The procedures in this section tell you how to configure the
• Set file search maximum Eclipse environment.
• Associate editors with
documents
• Configure key mapping
• Customize menu visibility
• Customize toolbar visibility
• Enable Eclipse command
groups
• Clear files from your hard
drive
• Clear information from the
cache
• Synchronize image
thumbnails
• Enable the Read-only Editor
• Specify compare tool
• Configure import and
export directories
• Add the root-catalog.xml
catalog to the oXygen
editor
• Configure column display
in any DITA view
• Restore warning messages
• Bring a process out of
background
606 DITA CMS User Guide for oXygen
Note: You must associate the extension of each image type you want to edit. The
above extensions are examples.
5. Click OK.
The new file type (*.png, for example) appears in the File types list. Your new entry should
be highlighted.
6. Click the Add button next to the Associated editors list.
The Editor Selection dialog appears.
7. Select either:
• Internal Editors: Display a list of programs integrated with the Eclipse IDE, such as the
browser.
• External Programs: Let you select other programs available on your system.
Repeat this procedure for each editor and document type as required.
Related Links
Working with images on page 276
Edit a resource item on page 269
608 DITA CMS User Guide for oXygen
The perspectivename indicates the current Eclipse perspective – the one you are customizing.
Workspace configuration 609
For example, if you use a text editor frequently in the DITA Perspective, you might find it convenient
to have it display whitespace characters such as tab and space. You would do this by enabling
the Editor Presentation toolbar.
The perspectivename indicates the current Eclipse perspective – the one you are customizing.
The perspectivename indicates the current Eclipse perspective – the one you are customizing.
You can now go to the Toolbar Visibility or Menu Visibility tab and select the required
menu and toolbar options.
Related Links
Customize menu visibility on page 608
Customize toolbar visibility on page 609
All Content Store files are erased from your hard drive, with the exception of those that
are currently open and/or locked by you.
Workspace configuration 611
Clearing your local machine's cache updates server information immediately. You will however,
notice a small increase in time for subsequent operations such as searches during the 5 or 10
minutes that it takes for the cache information to be rebuilt.
Note: Cache information is distinct from the local copies of any topics or other documents
you may working on in DITA CMS. Clearing the cache in no way affects these.
Information in the local machine's memory cache is cleared, and replaced with the most
recent information from the server.
4. Click Apply.
5. Click OK.
This editor is built in to the DITA CMS and does not need to be associated with the *.xml file
extension.
The specified compare tool will be used for the document types you selected.
Related Links
DITA CMS file comparison utilities on page 197
For Export directories, you can enable Auto-Save, which means that this directory will always
be used and the Save dialog will not appear to let you specify an export directory. You'll just see
an information dialog to show you where the files were written.
The specified directories will be used for future import and export operations.
Related Links
Create an image on page 278
4. In the Choose Catalog dialog, click the Browse button's selection arrow and then
select Browse workspace.
The Open dialog appears.
5. Expand the REPOSITORY node and then select the root-catalog.xml file.
Note: If you do not see this file:
6. Click Open.
The Choose Catalog dialog reappears, with your selection in it.
7. Click OK.
The Preferences dialog is displayed again and the root-catalog.xml catalog is listed in the
Catalogs list.
Workspace configuration 617
The DITA CMS catalogs are now available to the oXygen editor.
2. Select the columns to display and clear those you don't want to see.
The selected columns appear in the view.
3. Drag the columns into your preferred viewing order.
618 DITA CMS User Guide for oXygen
If you decide that you would prefer to receive these warnings in future, you can reactivate them
using this procedure.
This procedure restores all processes where you have selected Always run in background.
5. Click OK.
620 DITA CMS User Guide for oXygen
Glossary
Term Description
Document deliverable The final document that is produced by the map and its component
topics and images. A PDF file destined for printed output would be one
type of document deliverable; an online help module would be another.
With some foresight, a single topic may be used in both types of
deliverable.
Map An XML file that contains references to topics, and that structures the
document deliverable as a whole. In a book deliverable, it is the basis
of the Table of Contents.
Status point A point in the document development life cycle, expressed as its cycle
and state written together, e.g., Authoring:draft. Also known as the
document's status.
If there are any Windows CTRL+ALT shortcuts mapped to the key sequences shown here, the
Windows shortcuts take precedence.
The key mappings shown in this table are the default. Your system may be set up differently. If
you want, you can change key mappings through the Preferences dialog.
Clean all CTRL+SHIFT+V DITA CMS > Clean Resets all views to
Views All Views their original default
state, without
rearranging their
position in the DITA
Perspective.
Create map CTRL+ALT+M DITA CMS > Create Opens the Create
Map Map dialog.
Create topic CTRL+ALT+T DITA CMS > Create Opens the Create
Topic Topic dialog.
File CTRL+N File > New > Other... Opens the New -
/New/Other Select a Wizard
dialog
Create image CTRL+ALT+I DITA CMS > Create Opens the Show/Edit
Image Image dialog.
Save all CTRL+Q File > Save all Saves all documents.
Related Links
Configure key mapping on page 608
Index
A BIRT, install 498
Branch 368–376
Add 75 conrefs 374
Documents to favorites 75 create new 370
Add image directly to map 283 documents 372
Add resource directly to map 272 images 373
Advanced search 102, 105 map 370–371
Multiple operators 102 merge 376
without operator 105 resources 375
Advanced Search 96 revert 376
Operators 96 topic(s) 371
See also sub-tree
G K
Keep locked option 180
Generate output 563
Key mapping 608
Group search results 123, 481
Keydefs 386–388, 392–394, 396, 398
Grouping search results 125
Keyrefs 386–388, 392–394, 396, 398
H L
History list 143, 171
Labels 314–318
History, document 196, 198–199
assign 315
History, search 136
configure 314, 317–318
remove 315–316
I undefined 317
Languages Translation languages
, See
Icons 59–61, 145, 152, 369, 443, 445, 448, 476 Lateness 442
ID 147, 150, 254 Localization 278, 284, 455–456, 470, 472, 585–586, 595–598, 601
copy 254 designate image as requiring 278, 284
user-assigned 147, 150, 254 Image localization kit 597
Image 183, 250, 276–278, 281–286, 300–301, 373, 611 Localization kit 598
about 276 Pre-localization kit 595
Add directly to map 283 specify languages for 455–456, 470, 472
branch 373 Localization kit 586, 598
Cloning 183 Localization models 589–590, 593
create 278 Localize method 596
designate as requiring translation 278, 284, 286 Locate errors 130
edit 286 Locate search results 121
edit metadata 284 Lock files 180
insert 250, 300 locktitle attribute 165
Login 64, 66 Open (continued)
Login, logout 50 map 150–151, 466
topic 205–206
Open With... 150–151, 206
M Operators in Advanced Search 96
Orphan documents, search for 89
Managing 76
out-of-scope links, validate 176
Favorite documents 76
Output, generating 562–563
Map 110, 112, 145, 147, 150, 152–154, 157–163, 167–168, 172, 183, 370–371,
Outward soft links 270
457, 465–466
Overload 448, 476
add documents 162
oXygen 294, 615
add element 172
configure 615
add to another map 157, 162
quick reference 294
add to project 465
branch 371
Cloning 183 P
create 147
create new branch 370 Parent-child relations for a document 46, 258
drop point 145, 162 PDF review file 323, 326–327, 329
due date 457, 466 Personal queries 133, 485
edit 150, 154 Perspectives 54, 58, 83
element, display 172 Plug-in 498
export as TSV 153 Pre-publication flags 152
move within map 158 Preferences 50
open 150, 466 For DITA CMS connection 50
pre-publication flags 152 Preferences dialog 608
re-position documents in 158–161 prerequisites, adding soft link indexes 272
remove from map 168 Preset comments 180
remove from project 466 Preview 206, 281, 345
rename 167 Print 152, 168, 473–475, 563
Replacing text in topics of 112 map 152, 168, 473
Searching XML content 110 output 563
topic alert indicators 145 statistics 474–475
topic title display 163 Project 450–454, 465–466, 475, 478
Map ID 147, 150, 254 add deliverable 465
Map view 165 add map 465
Showing navtitles 165 clone 453
Menus 608 create 450
Merge 378 Delete 478
branch 378 due date 451
Milestones, default 457, 459–460 remove deliverable 466
Milestones, map-specific 466, 468–470 remove map 466
Milestones, view statistics 475 rename 454, 475
Minimize a view 81 status 452–453
Multiple operators in Advanced search 102 Project coordinator 450, 461
Multiresolution images 277, 283 Project Management Perspective 441
about 277 Project Management view 442–443, 445
set default 283 Properties view 173
Publish 562
N
Q
navtitle element 165
Queries 133
Query 133–135, 137–139, 485, 499, 512
O Creating 133, 485
edit 137
Offline Perspective 289–292
personal 137
Open 75, 150–151, 205–206, 283, 466
Personal, running 134
Favorites panel 75
release 137
image 283
replace with server revision 137
Query (continued) Revert (continued)
share 138–139 file 194
TEXTML 137 object 196
TEXTML, running 135 Revisions 137, 194, 196, 198–199, 327
use with BIRT 499, 512 compare 198–199
revert to previous 137, 194, 196
view previous 194, 196, 327
R Roles 47, 64, 304, 306, 308, 461, 463–464
about 47
Read-only Editor 205, 606, 612 See also Default role assignments
T
U
Taxonomy terms 109, 434, 437–438
add keywords to documents 437 Undefined labels 317
add terms to document metadata 437 Update files 180, 190
add terms to documents 434 User 47, 304, 461, 463–464
locate within Terms pane 438 assign documents to 304
search repository using 109, 438 roles 47, 304, 461, 463–464
Taxonomy Terms view 426 User documentation 30
Taxonomy, editing 430–432 User roles 42
create new taxonomy 430
Team members 304, 310, 448, 461, 463–464, 476
assign documents to 304 V
assign roles in project 463
Validate out-of-scope links 176
view documents assigned to 310
Values Count column 503, 522–524
view workload 448, 476
Version label 562
Technical support 29
Versions revisions
contact information 29
, See
View 74, 77, 170, 205–206, 216, 281, 322, 345, 442, 530
TEXTML queries 133, 485
Annotations 322
TEXTML Server connection information 50
Bulletin Board 442
Thumbnails 208, 282, 611
Deliverables List 442
Timelines 47
DITA Map 170
about 47
Documents 74, 77
Todo List 310
Preview 205–206, 281, 345
Toolbars 61, 63, 609
Project Management 442
Topic 37, 145, 152, 157–158, 162, 168, 174, 183, 204–206, 208–209, 222–
Relationship Outline 216, 530
223, 345, 371, 537
Relationship Table Editor 216, 530
add a topic and its children to reltable 223, 537
Votes 322
add to map 157, 162
Views 67–68, 70, 75, 80, 82, 143
add to reltable 222, 537
about 67
alert indicators 145
DITA Map 143
blocking map progress, indicators 145
Documents 75
branch 371
refresh 82
Cloning 183
restore a stack 82
create 174, 204
restore single 82
edit 209
show 68
modified in map, indicators 145 See also editors