ADDRESS

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
type restriction of dtSTRING buyer required

Source

<xsd:element name="ADDRESS" minOccurs="0">
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="typeADDRESS">
        <xsd:attribute name="type" use="required" fixed="buyer">
          <xsd:simpleType>
            <xsd:restriction base="dtSTRING">
              <xsd:minLength value="1"/>
              <xsd:maxLength value="20"/>
              <xsd:enumeration value="buyer"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:attribute>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

Sample