Schema surface.xsd


schema location:  http://mipav.cit.nih.gov/documentation/xml-format/surface/surface.xsd
attribute form default:  unqualified
element form default:  qualified
 
Elements 
Surface 


element Surface
diagram
properties
content complex
children Unique-ID Material Type Opacity LevelDetail Mesh
annotation
documentation 
Comment describing your root element
source
<xs:element name="Surface">
  <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="Unique-ID" type="xs:int"/>
      <xs:element name="Material">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Ambient">
              <xs:simpleType>
                <xs:list itemType="xs:float"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="Diffuse">
              <xs:simpleType>
                <xs:list itemType="xs:float"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="Emissive">
              <xs:simpleType>
                <xs:list itemType="xs:float"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="Specular">
              <xs:simpleType>
                <xs:list itemType="xs:float"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="Shininess" type="xs:float" default="64"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="Type" type="xs:string"/>
      <xs:element name="Opacity" type="xs:float"/>
      <xs:element name="LevelDetail" type="xs:int"/>
      <xs:element name="Mesh">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Vertices">
              <xs:simpleType>
                <xs:list itemType="xs:float"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="Normals" minOccurs="0">
              <xs:simpleType>
                <xs:list itemType="xs:float"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="Colors" minOccurs="0">
              <xs:simpleType>
                <xs:list itemType="xs:float"/>
              </xs:simpleType>
            </xs:element>
            <xs:element name="Connectivity">
              <xs:simpleType>
                <xs:list itemType="xs:int"/>
              </xs:simpleType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element Surface/Unique-ID
diagram
type xs:int
properties
isRef 0
content simple
source
<xs:element name="Unique-ID" type="xs:int"/>

element Surface/Material
diagram
properties
isRef 0
content complex
children Ambient Diffuse Emissive Specular Shininess
source
<xs:element name="Material">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Ambient">
        <xs:simpleType>
          <xs:list itemType="xs:float"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Diffuse">
        <xs:simpleType>
          <xs:list itemType="xs:float"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Emissive">
        <xs:simpleType>
          <xs:list itemType="xs:float"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Specular">
        <xs:simpleType>
          <xs:list itemType="xs:float"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Shininess" type="xs:float" default="64"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element Surface/Material/Ambient
diagram
type list of xs:float
properties
isRef 0
content simple
source
<xs:element name="Ambient">
  <xs:simpleType>
    <xs:list itemType="xs:float"/>
  </xs:simpleType>
</xs:element>

element Surface/Material/Diffuse
diagram
type list of xs:float
properties
isRef 0
content simple
source
<xs:element name="Diffuse">
  <xs:simpleType>
    <xs:list itemType="xs:float"/>
  </xs:simpleType>
</xs:element>

element Surface/Material/Emissive
diagram
type list of xs:float
properties
isRef 0
content simple
source
<xs:element name="Emissive">
  <xs:simpleType>
    <xs:list itemType="xs:float"/>
  </xs:simpleType>
</xs:element>

element Surface/Material/Specular
diagram
type list of xs:float
properties
isRef 0
content simple
source
<xs:element name="Specular">
  <xs:simpleType>
    <xs:list itemType="xs:float"/>
  </xs:simpleType>
</xs:element>

element Surface/Material/Shininess
diagram
type xs:float
properties
isRef 0
content simple
default 64
source
<xs:element name="Shininess" type="xs:float" default="64"/>

element Surface/Type
diagram
type xs:string
properties
isRef 0
content simple
source
<xs:element name="Type" type="xs:string"/>

element Surface/Opacity
diagram
type xs:float
properties
isRef 0
content simple
source
<xs:element name="Opacity" type="xs:float"/>

element Surface/LevelDetail
diagram
type xs:int
properties
isRef 0
content simple
source
<xs:element name="LevelDetail" type="xs:int"/>

element Surface/Mesh
diagram
properties
isRef 0
content complex
children Vertices Normals Colors Connectivity
source
<xs:element name="Mesh">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Vertices">
        <xs:simpleType>
          <xs:list itemType="xs:float"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Normals" minOccurs="0">
        <xs:simpleType>
          <xs:list itemType="xs:float"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Colors" minOccurs="0">
        <xs:simpleType>
          <xs:list itemType="xs:float"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Connectivity">
        <xs:simpleType>
          <xs:list itemType="xs:int"/>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element Surface/Mesh/Vertices
diagram
type list of xs:float
properties
isRef 0
content simple
source
<xs:element name="Vertices">
  <xs:simpleType>
    <xs:list itemType="xs:float"/>
  </xs:simpleType>
</xs:element>

element Surface/Mesh/Normals
diagram
type list of xs:float
properties
isRef 0
content simple
source
<xs:element name="Normals" minOccurs="0">
  <xs:simpleType>
    <xs:list itemType="xs:float"/>
  </xs:simpleType>
</xs:element>

element Surface/Mesh/Colors
diagram
type list of xs:float
properties
isRef 0
content simple
source
<xs:element name="Colors" minOccurs="0">
  <xs:simpleType>
    <xs:list itemType="xs:float"/>
  </xs:simpleType>
</xs:element>

element Surface/Mesh/Connectivity
diagram
type list of xs:int
properties
isRef 0
content simple
source
<xs:element name="Connectivity">
  <xs:simpleType>
    <xs:list itemType="xs:int"/>
  </xs:simpleType>
</xs:element>


XML Schema documentation generated with
XMLSpy Schema Editor http://www.altova.com/xmlspy