| Paul's profilePaul Galvin's SharePoint...BlogListsSkyDrive | Help |
|
|
December 21 Quick Tip: Content Query Web Part, Lookup Column Value and XSLI have a column name in a content type named "Real Estate Location". That column is of type "lookup". I have modified <CommonViewFields> and ItemStyle.xsl to show the column. A simple <xsl:value-of select=...> returns back an internal value that includes ordinal position data, such as:
To get the human-friendly value, use xsl substring-after, as shown:
Use this technique whenever you are working with lookup values in XSL transforms and need to get the human-friendly value. <end/> Comments (2)
TrackbacksThe trackback URL for this entry is: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!544.trak Weblogs that reference this entry
|
|
|