Creating Custom XSLT Styles for XLVs

Earlier in this chapter, I mentioned how you can reuse XLVs by choosing the save to Site Gallery or save to File options in SharePoint Designer. I also pointed out some considerations around reusing XLVs, such as where you’ve applied conditional formatting and image icons to the source XLVs. In this section, I show you how to create custom XSLT view styles.

A new content type introduced in SharePoint 2010, namely the List View Style content type, makes it possible to target custom XSLT files to either XLV or DFWPs. You add custom styles to the SharePoint Designer ribbon’s View Style group so they can be used by designers when styling XLVs and DFWPs. Also in this section, I show you how to leverage the List ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.