hhchunk.xml does affect HTML Help TOCs but wasn't the right path for my
problem. The "correct" answer for me is modifying the HTML Help XSL
stylesheet. I have to remove this:
xmlns:ch="
ch:class="chapter"
From this:
ch:class="chapter">
On the template matching the element I'm removing from the TOC/chunking.
To remove the element from the PDF bookmarks I have to format the table of
contents, customize the table of contents (I am using Division Titles, 5th
level), and deselect the "title in myelement".
Working.
HOWEVER, it is odd, my test file has two chapters. In the first chapter, all
chapter children properly appear (and no grandchildren). I the second
chapter, it works too except that the first child is not included in the PDF
bookmarks. The content is visible in the chapter ... AHA got it. I had a
FOSI edit on title in myelement (which is a good reason to never use FOSI
edits). myelement, the grandchild, was overwriting the value of the bookmark
saved for the child in that FOSI edit.
Really working.
Thanks for letting me talk 😉