media

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
alt xs:string optional
file-name xs:string optional
id xs:string optional
type restriction of xs:string optional

Used By

Complex Type markup
Element note-paragraph

Source

<xs:element name="media">
  <xs:complexType>
    <xs:attribute name="id" type="xs:string"/>
    <xs:attribute name="file-name" type="xs:string"/>
    <xs:attribute name="type">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="gif"/>
          <xs:enumeration value="jpeg"/>
          <xs:enumeration value="tif"/>
          <xs:enumeration value="bmp"/>
          <xs:enumeration value="png"/>
          <xs:enumeration value="wav"/>
          <xs:enumeration value="wma"/>
          <xs:enumeration value="wmv"/>
          <xs:enumeration value="mp3"/>
          <xs:enumeration value="unknown"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="alt" type="xs:string"/>
  </xs:complexType>
</xs:element>

Sample