XLVs Behind the Scenes

By default the XSLT behind XLVs is uncustomized, and the XLV retrieves its XSLT directly from the Web front-end server. Listing 22.2 shows a snippet from an uncustomized Announcements XLV in code view.

Listing 22.2 XLV in an Uncustomized State

<WebPartPages:XsltListViewWebPart runat="server" IsIncluded="True"GhostedXslLink="main.xsl" FrameType="None" NoDefaultStyle="TRUE" ViewFlag="8"Title="Announcements (1)" PageType="PAGE_NORMALVIEW" ListName="{1B9955C2-3571-4FDD-B2B2-54677FC6EDC6}" Default="FALSE" DisplayName="Announcements"__markuptype="vsattributemarkup" __WebPartId="{E73F94AB-7478-4C0C-B03E-9C25EA03F5FD}"id="g_e73f94ab_7478_4c0c_b03e_9c25ea03f5fd" viewcontenttypeid="0x"__designer:customxsl="fldtypes_Ratings.xsl"> ...

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.