Share via


MetaData Element

The MetaData element is used in list definitions, for example in SCHEMA.XML of the Announcements list, to separate list metadata from data in a list template.

Syntax

<MetaData>
</MetaData>
Parent Elements Child Elements
BaseType, List Default, DefaultDescription, Fields, Forms, Views

Example

The following sample illustrates the skeletal structure of a list with MetaData and Data sections.

<List Name="Announcements" Title="My Announcements">
  <MetaData>
    <Fields>
    .
    .
    .
    </Fields>
    <Views>
    .
    .
    .
    </Views>
    <Forms>
    .
    .
    .
    </Forms>
  </MetaData>
  <Data>
    <Rows>
      <Row>
      .
      .
      .
    </Rows>
  </Data>
</List>

See Also

Data