Replace the hardcoded node if/else chain in describeTransaction with a NODE_LABELS map covering image, text box, formula, page break, TOC, fields, cross-reference, index/bibliography entries, ruby and columns; foot-/endnotes labelled via their kind attr. MARK_LABELS gains link, comment, bookmark, character style and tracked change.