Image

Complex Type Information

Model

Used By

Source

<xs:complexType name="Image">
  <xs:all>
    <xs:element name="url" type="xs:anyURI">
      <xs:annotation>
        <xs:documentation>The URL of the image file.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="title" type="xs:string">
      <xs:annotation>
        <xs:documentation>Describes the image, it's used in the ALT attribute of the HTML <img> tag when the channel is rendered in HTML.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="link" type="xs:anyURI">
      <xs:annotation>
        <xs:documentation>The URL of the site, when the channel is rendered, the image is a link to the site. (Note, in practice the image <title> and <link> should have the same value as the channel's <title> and <link>.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="width" type="ImageWidth" default="88" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The width of the image in pixels.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="height" type="ImageHeight" default="31" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The height of the image in pixels.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="description" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Text that is included in the TITLE attribute of the link formed around the image in the HTML rendering.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:all>
</xs:complexType>