DToC uses XML ids as index locators; every index item is associated with one or more paragraph (as opposed to pages 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”.
For each paragraph within the body of text add an unique identifier. For example, you
can use “P” and then the number of what paragraph it is. 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 use underscores. Each paragraph, even if they are in different chapters needs a distinct id.