View Schema
Applies to: SharePoint Foundation 2010
The View schema of Collaborative Application Markup Language (CAML) is used to define how the contents of a list view are rendered in Microsoft SharePoint Foundation.
Note
SharePoint Foundation 2010 uses XSLT to define list views, and the View schema is maintained for backward compatibility. For information about XSLT list views, see List Views.
A list view includes a query that returns the data that is displayed in the view. For the list of query elements, see Query Schema. For the top-level elements that are used to organize a view, see List Schema.
In SharePoint Foundation 2010 .aspx pages, the view is conveyed through a Microsoft.SharePoint.WebPartPages.XsltListViewWebPart object. Views can be created or modified programmatically through either the server-side or client-side object model (for example, members of SPView or SPViewCollection and their related types in the Microsoft.SharePoint.Client (JavaScript: SP) namespace), through the Views web service (methods of the Views class), or through remote procedure call (RPC) protocol (see SharePoint Foundation Methods).
Specialized Rendering Elements
Specialized rendering elements are used within a view to define the logic for constructing HTML. These elements can contain numerous standard rendering elements.
Standard Rendering Elements
The following standard rendering elements are used to render HTML within the various sections of the previously listed structural or specialized rendering elements.
See Also
Concepts
XMLDefinition and CAML View Schema