This project is read-only.

Name

GetUserEmail

Source

Eric Alexander aka @PirateEric

Example

<xsl:call-template name="GetUserEmail">
  <xsl:with-param name="Person" select="@Created"/>
</xsl:call-template>

Code

<xsl:template name="GetUserEmail">
  <xsl:param name="Person"/>
  <xsl:value-of select="substring-before(substring-after($Person, &quot;sip='&quot;), &quot;'&#32;id=&quot;)" />
</xsl:template>

Last edited May 27, 2010 at 8:19 PM by sympmarc, version 3

Comments

glaushine Jun 24, 2012 at 4:24 AM 
In SP 2010, I found that this works:
<xsl:call-template name="GetUserEmail">
<xsl:with-param name="Person" select="@Author.span"/>
</xsl:call-template>

Or @Editor.span for the Modified By column.