Enclosure

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
length xs:nonNegativeInteger required
Size in bytes
type xs:string required
MIME media-type of the enclosure
url xs:anyURI required
URL where the enclosure is located

Used By

Source

<xs:complexType name="Enclosure">
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="url" type="xs:anyURI" use="required">
        <xs:annotation>
          <xs:documentation>URL where the enclosure is located</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="length" type="xs:nonNegativeInteger" use="required">
        <xs:annotation>
          <xs:documentation>Size in bytes</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="type" type="xs:string" use="required">
        <xs:annotation>
          <xs:documentation>MIME media-type of the enclosure</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>