Email addresses
Capture email addresses like web links, but have an additional
role="email" on the url element, and
mailto: at the start of the webUrl attribute
value.
//url[@role="email"]
Example: Email address
Input
For further information email:
nshpc@ich.uci.ac.uk
Output
<p>For further information email: <url role="email" webUrl="mailto:nshpc@ich.uci.ac.uk">nshpc@ich.uci.ac.uk</url>
</p>