Example: Reusing a sequence of list items
This section is non-normative.
In this scenario, a @conref
and @conrefend
are used
to reference a range of list items.
In the following code sample, we have a library topic that defines a series of list items.
Each list item has an @id
attribute, making it possible to reuse them
individually or as ranges.
The following topic reuses a range of items from that list, without reusing the entire list.
In the resolved topic, all list items from the starting "bear" to the ending "dog" are pulled
in to replace the referencing element. The @id
attributes on the referenced
elements are not preserved, but any @id
attributes on intermediate elements
are preserved.