@DiapDealer.
Surely this is the situation:
Code:
<h1>Chapter 1</h1>
<p>Blah, blah, blah</p>
<h2>Subchapter A</h2>
<p>Blah, blah, blah</p>
<h2>Subchapter B</h2>
<p>Blah, blah, blah</p>
<h2>Subchapter C</h2>
<p>Blah, blah, blah</p>
After creating TOC/NCX:
Code:
<h1>Chapter 1</h1>
<p>Blah, blah, blah</p>
<h2 id="sigil_toc_id_1">Subchapter A</h2>
<p>Blah, blah, blah</p>
<h2 id="sigil_toc_id_2">Subchapter B</h2>
<p>Blah, blah, blah</p>
<h2 id="sigil_toc_id_3">Subchapter C</h2>
<p>Blah, blah, blah</p>
Identifiers are added only to those headers that are in the same file. And that's a very good thing.