contains() — does the 1st param contain
the 2nd param? (or, does the param2 occur in param1)?
contains( /TEI/@xml:id, 'song')substring-after()
substring-after( @who, '#')id( substring-after( ancestor::sp/@who,'#') ) gets you
the <role> element of whoever is speaking at the moment (i.e., where
the cursor is in oXygen), except fails silently when
@who points to more than
one speaker, e.g., for
<sp who="#Indy #Sallah"> <p>They’re digging in the wrong place!</p> </sp>