Sample topic - cross-references
This topic shows a variety of cross-referencing methods, and the rendered results of those cross-references.
This is a paragraph in a topic, with an id attribute of sample_xref_para.

Photo Description | Photographer |
---|---|
Charles Darwin | Julia Margaret Cameron |
Base Information Types | Root Element |
---|---|
Concept information type | concept |
Task information type | task |
Reference information type | reference |
Untyped topic proto-information | topic |
Composite (ditabase) topic | dita |
Typical section
This is a typical section in a topic, and like all section elements, may be the target of a cross-reference.
This is a sample ordered list:
- primary
- secondary
- tertiary
Cross-references to steps in a task topic behave in a similar way.
Cross-reference samples
The following are examples of different types of cross references.
Cross-reference | Code | Result |
---|---|---|
To a section |
| Typical section |
To a numbered item (in an ordered list) |
| 2 |
To a step |
| 1 |
To a figure |
| Figure 1 |
To a table |
| Table 1 |
To a simple table (not recommended, as not supported by many processors) |
| c_Cross-references_Sample_Topic.html#concept_sample_xref__simpletable_sample_infotypes |
To an image (not logical, as there is no text or number to use for the link text) |
| c_Cross-references_Sample_Topic.html#concept_sample_xref__image_darwin |
To an image, with content in the xref |
| Darwin in profile |