- 3.20 Fragment identifiers
URIs and IRIs [RFC3987] have an optional fragment identifier. Fragment identifiers may be used to refer to resources contained in an OpenDocument document.
If the document is an OpenDocument package, the fragment identifier refers to an element in the OpenDocument package's content.xml.
If the document is a single XML file, the fragment identifier refers to an element in it.
A fragment identifier may refer to an XML element via its xml:id [19.914] attribute.
As described in 19.910.37 <text:section-source>, a fragment identifier may also be used to refer to a text section by its text:name [19.835.14] attribute.
Fragment identifiers may also be used to refer to elements in an implementation-dependent manner.
If there are multiple valid interpretations of which element a fragment identifier refers to in a given OpenDocument document, it is implementation-dependent which one of them is chosen.