Adding XML ids to your document manually
DToC uses XML ids as index locators. Every index item is associated with one or more paragraphs; their function is analogous to that of page numbers used in print indexes.
If your document is small, you can add your own XML ids. If you have a larger document, we suggest that you open your document in Oxygen where you can add XML ids quickly and easily (see the document "Adding XML ids with oXygen").
Open the XML document, “A Scandal in Bohemia: Chapter 1”.
Each paragraph within the body of text can be tagged with a unique identifier. For example, you
can use “P” followed by the number corresponding to each particular paragraph's location in the corpus. So the fifth paragraph
would be “P5”.
You can use a combination of letters and numbers, but you cannot have spaces located within the XML id attribute. You can replace spaces with underscores. Each paragraph, even if they are in different chapters, needs a distinct id.