I have a document library I wish to create a custom display form for. I notice that when a person/group field is displayed in the default automatically generated list, the person is not displayed, but a large block of unsightly HTML is displayed.
Why does this occur and how can I fix this?
Below I have The automatically generated HTML within the form.
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="190px" valign="top" class="ms-formlabel">
<H3 class="ms-standardheader">
<nobr>Title</nobr>
</H3>
</td>
<td width="400px" valign="top" class="ms-formbody">
<xsl:value-of select="@Title"/>
</td>
</tr>
<tr>
<td width="190px" valign="top" class="ms-formlabel">
<H3 class="ms-standardheader">
<nobr>Responsible for Next Step</nobr>
</H3>
</td>
<td width="400px" valign="top" class="ms-formbody">
<xsl:value-of select="@Responsible_x0020_for_x0020_Next_x0020_Step"/>
</td>
</tr>