I'm trying to validate an email address via a map to confirm to the validation rule \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)
.
I'm new to this and haven't found much help via search, so will post the in-line xslt call I have to see if someone can correct my mistake.
<xsl:template name="EmailAdress" xmlns:msxsl="urn:schemas-microsoft-com:xslt" >
<xsl:param name="inEmail"/>
<xsl:element name="p:Email" >
<xsl:value-of select="Maches(upper-case(inEmail),'\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)'/>
</xsl:element>