i already posted about the possibility to remove the hyperlinks from a column in XSLT in for example a data view webpart or a listview webpart. In this post i used a special xsl
[sourcecode language=”csharp”]
//use this
//or use this from my old post
[/sourcecode]
The first works fine for lookup columns which has a link to its item display menu. The second one is if a hyperlink column is used. But what if you have a column or field from type people or person? In this case you have to do one step more and work with a variable as below:
[sourcecode language=”csharp”]
[/sourcecode]
This worked great for me, cause it displays the username as same as before but without the hyperlink. So its result is not someting like domain\username but User Name. But please be informed that i only displays the first value! That means, if you use a field from type user and you check the option to multiple values it won’t show more than one person name. If you need to ensure that all persons are displayed you should change the delimiter to your needs.
Hope this helps you.
..:: I LIKE SHAREPOINT ::..