have a list in SharePoint portal. Also I have added description to each of the fields in list. Now I have created a dataview webpart in SharePoint 2007 Designer. I am able to get the list column values but I em not able to get the Column description ? Can anyone tell me how can I get the description of the list column using xslt in sharepoint designer?
1 Answer
Sharmila,
You cannot get the Description of the column, in DataViewWebpart, since the description which you provided becomes part of Field Description Attritbute, and the value of the Field becomes part of SPList Item.
<xsl:value-of select="@NameOfDescriptionFieldHere" />