People Headwords
Capture headwords that are people using the attribute type="person". Capture the name within them using nameGrp.
//headword[type="person"]
Within a headwordGroup element, use plain text without style tags when capturing punctuation and words that fall between headwords (and that does not fall within the headwordInfo). Capture the punctuation and words outside the headword element.
<headwordGroup>
<headword type="person"><nameGrp mainName="Asam" foreNames="Cosmas Damian">Asam, Cosmas Damian</nameGrp>
</headword>
</headwordGroup>