Customizing an item's view in SharePoint Designer
Posted
by agnieszka
on Stack Overflow
See other posts from Stack Overflow
or by agnieszka
Published on 2009-08-26T10:16:50Z
Indexed on
2010/06/12
0:02 UTC
Read the original article
Hit count: 445
sharepoint
|sharepoint-designer
I've created a list called Newsletters (columns: Title, Date and News - a multi lookup to a News list), and a DataFormWebPart displaying an item from this list. Now I'm modifing the XSLT transformation to change the displayed view.
At the moment an item is simply displayed with its Title, Date and News attributes, where News attribute is displayed as a list of News items titles - this is the default. Instead of the titles, I would like to also display these news' Content. The problem is that I have no idea how to get to these elements. The News attribute is being referred in xslt simply as <xsl:value-of select="@News"/>
and I can't get to the elements that lie behind it.
Any suggestions on how I can do it?
© Stack Overflow or respective owner