mimetype

Defines the MIME type of the data stored in a data item.

Syntax

   <mimetype>MIME type</mimetype>
Table 1. mimetype parameters
Parameter Type Description
MIME type string the MIME type of the data item

Available in

data

Example

This sample sets the MIME type to indicate image data:

   <mimetype>image/gif</mimetype>

Usage details

  1. Default: application/vnd.xfdl
  2. The following are examples of MIME types. For full information on MIME types, read the MIME rfcs (1521, 1522, 1867 and 822), available on the World Wide Web.
    application/vnd.xfdl
    XFDL form item
    image/jpeg
    image item
    image/rast
    image item
    image/bmp
    image item
    image/gif
    image item
    text/plain
    ASCII text item
  3. For information about supported images formats, see image.