Partager via


MetaData Element

The MetaData element is used in list definitions (for example, in SCHEMA.XML for announcements lists) to separate list metadata from data.

Syntax

<MetaData>
</MetaData>

Element Relationships

Parent Elements Child Elements
BaseType, List DefaultDescription, Fields, Forms, Toolbar, Views

Example

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

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