How Content Fusion Finds DITA References
The
References tab in the
Explore side view shows how files in a DITA project reference one
another. Use it to identify what a change affects before you make it and to understand how a
large project fits together.
References tab is experimental. To enable it, open your
Profile page and select Show the DITA References tab in
the Explore side view in the Preferences section. This
setting applies only to the current browser. The tab is available for projects that define
publications.Where the References Come From
The References tab reads the workspace files in the browser. It starts with the root map of each publication and follows every reference it finds, reaching every file used by a publication. A file that no publication reaches has no references in the tab.
The tab identifies the following types of references:
| Group | Types |
|---|---|
| Structure | topicref, mapref, keydef, key definitions, aliases made with
@copy-to, reltable, ditavalref, subject scheme references, and the
publications of the project file |
| Reuse | conref, conkeyref, conref push, coderef, and include |
| Navigation | xref, link, and keyref |
| Resources | image, media, object, and other references to files that are not DITA |
The tab calls a non-DITA file, such as an image, a resource. Most references lead to a file, but some lead to a key, an alias, or a web address. See The Web of DITA References.
Incoming references
You can determine the files that a file references by inspecting that file. The References tab also shows where a file is referenced on the Referenced by tab. After the tab loads, you can instantly navigate to the incoming references of any file.
Project Scope and Publication Scope
By default, the References tab covers the whole project (every file that any publication uses). In this project scope:
- The tab applies no profiling, so it shows every reference, even if it is excluded from all publications.
- The tab does not resolve keys by key scope. All keys with the same name are treated as one key, even when they belong to different key scopes.
The Use the context publication as scope toolbar button limits the
tab to the context publication. In this publication scope, the tab processes
maps as the publication does: it applies DITAVAL profiling, resolves keys within their key
scopes, and follows @copy-to. A file excluded by the publication has no
references in this scope.
Use the project scope to find everything a change can affect across all publications. Use the publication scope to see what a context publication includes or why a key resolves as it does.
When the Tab Reads the Files
The tab reads the files when it opens and retains what it finds. It does not update when you edit, save, or commit files. After changing files, click Refresh to read them again.
Reading a large project can take time, and the tab shows its progress. While it reads, additional references to the selected file can appear in the Referenced by list.
Limits
- The tab treats XML files that are not DITA, and files in formats that it does not know, as resources. It does not look for references inside them.
- In the publication scope, the tab does not apply chunking and ignores the
@linkingattribute. - Large projects take longer to read.
Resources
To see how the
References tab can
help your team, watch this video demonstration: