Site Schema
Applies to: SharePoint Foundation 2010
The Site schema of Collaborative Application Markup Language (CAML) is used to define metadata for creating Web sites, including the root site of site collections. A site definition specifies the navigation bars, list templates, document templates, list base types, configurations, modules, components, and server email footer for creating sites. The site definition is specified through an Onet.xml file located in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\SiteTemplates, and through a WebTemp*.xml file located in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\1033\XML.
Sites can be created or modified programmatically through the object model (for example, members of the SPWeb and SPWebCollection classes, or members of the SPSite and SPSiteCollection classes). They can also be remotely created or modified through the Administration Web service (methods of the Admin class), the Document Workspace Web service (methods of Dws), or the Meetings Web service (members of Meetings).
Site Schema Elements
Onet.xml
[See Module Schema]
[See Module Schema]
Module Schema
WebTemp*.xml