Schema element

Defines the row elements inside the data element that follows the Schema element.

Usage

      
<Schema
	type="xsd:string"
	type="xsd:string"
	name="xsd:string"
	content="xsd:string"
	name="xsd:string"
	id="xsd:string"
	dt:type="[external type]"
	dt:maxLength="[external type]"
	rs:name="[external type]"
/>

    

Element Information

Element type Anonymous
Namespace uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882
Schema name Rowset Definition

Elements and Attributes

Child Elements

Element Description
ElementType Describes the row element.
attribute Specifies the attributes of the row element.
extends Specifies extensions to a schema.
AttributeType Specifies a column in the Schema namespace.
datatype Specifies information about the data type of a column. Set to one of the types defined in dt.xsd.

Attributes

Attribute Type Required Description Possible Values
type xsd:string required Contains the name of the attribute in the data element that follows the Schema element. See external namespace.
type xsd:string required Contains the name of a namespace and element that is an extension to the schema. This is always set to rs:rowbase. See external namespace.
name xsd:string required Specifies the name of the element of the data element that follows the schema. This is always set to row. See external namespace.
content xsd:string required Specifies what the row element is allowed to contain. Must be set to eltOnly. See external namespace.
name xsd:string required Set to the name of a field in the PivotTable cache. The value of this attribute must be set to the value of one of the type attributes specified in the ElementType element. See external namespace.
id xsd:string required Specifies an identifier for the Schema element. This is always set to RowsetSchema. See external namespace.
dt:type external ref optional See external namespace. See external namespace.
dt:maxLength external ref optional See external namespace. See external namespace.
rs:name external ref optional See external namespace. See external namespace.

Definition

      
<xsd:element name="Schema" >
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="ElementType">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="attribute" minOccurs="0" maxOccurs="unbounded">
              <xsd:complexType>
                <xsd:attribute name="type" type="xsd:string" use="required">
                </xsd:attribute>
              </xsd:complexType>
            </xsd:element>
            <xsd:element name="extends" minOccurs="0" maxOccurs="unbounded">
              <xsd:complexType>
                <xsd:attribute name="type" type="xsd:string" use="required">
                </xsd:attribute>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
          <xsd:attribute name="name" type="xsd:string" use="required">
          </xsd:attribute>
          <xsd:attribute name="content" type="xsd:string" use="required">
          </xsd:attribute>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="AttributeType" minOccurs="0" maxOccurs="unbounded">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="datatype">
              <xsd:complexType>
                <xsd:attribute ref="dt:type" use="optional" />
                <xsd:attribute ref="dt:maxLength" use="optional" />
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
          <xsd:attribute name="name" type="xsd:string" use="required">
          </xsd:attribute>
          <xsd:attribute ref="rs:name" use="required" />
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="id" type="xsd:string" use="required">
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>


    
©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp