Transclusion 002
In this document, all transcluded IDs are resolved with the ‘auto’ fixup.
In a document where the same fragment is included (for example, with XInclude) more than once, any ID values in that fragment will be duplicated in the resulting document. Duplicate IDs should be avoided.
The DocBook Transclusion specification is intended to address this problem by providing “fixup” mechanisms.
In this document, we use the following caution
element as an example:
This caution has the xml:id
value ‘caution
’.
If it is simple transcluded more than once into a document, it will
introduce duplicate IDs in the document.
Here it is repeated:
This caution has the xml:id
value ‘caution
’.
If it is simple transcluded more than once into a document, it will
introduce duplicate IDs in the document.
1. Subsection One
Here it is repeated in a subsection:
This caution has the xml:id
value ‘caution
’.
If it is simple transcluded more than once into a document, it will
introduce duplicate IDs in the document.
2. Subsection Two
Here it is repeated in another subsection:
This caution has the xml:id
value ‘caution
’.
If it is simple transcluded more than once into a document, it will
introduce duplicate IDs in the document.