This may be able to reuse xquery from the script for #356
For all saints records (only) which have an abstract in a tei:note of @subtype="auto-formatted"
If the tei:note text node begins with [NAME] (all tei:note of @subtype="auto-formatted" should begin this way I hope)
Please replace that first persName (but not any others) with whatever the same person record has for its @xml:lang="en" @syriaca-tags="#syriaca-headword" form of the name.
<note type="abstract" xml:id="abstract-en-1533" source="#bib1533-1" subtype="auto-formatted">
<persName ref="http://syriaca.org/person/1533">Ahrūn</persName> is commemorated in <title ref="http://syriaca.org/work/829">Aaron (text)</title>, a work surviving in at least 3 manuscripts including <bibl type="MSS" xml:id="witness1">ms London, British Library, Add. 14647, f. 101v-102v</bibl>.</note>
Should become this:
<note type="abstract" xml:id="abstract-en-1533" source="#bib1533-1" subtype="auto-formatted">
<persName ref="http://syriaca.org/person/1533">Aaron</persName> is commemorated in <title ref="http://syriaca.org/work/829">Aaron (text)</title>, a work surviving in at least 3 manuscripts including <bibl type="MSS" xml:id="witness1">ms London, British Library, Add. 14647, f. 101v-102v</bibl>.</note>
This may be able to reuse xquery from the script for #356
For all saints records (only) which have an abstract in a tei:note of @subtype="auto-formatted"
If the tei:note text node begins with[NAME] (all tei:note of @subtype="auto-formatted" should begin this way I hope)
Please replace that first persName (but not any others) with whatever the same person record has for its @xml:lang="en" @syriaca-tags="#syriaca-headword" form of the name.
As an example in http://syriaca.org/person/1533, this:
Should become this: