Previous Section  < Day Day Up >  Next Section

<description>, <display-name>, and <icon>

These three elements provide information a development tool can use to describe the application. These three elements are not top-level elements themselves but can be nested within most top-level elements.

Syntax

<description [xml:lang="lang"]>description</description>

<display-name [xml:lang="lang"]>displayName</display-name>

<icon [xml:lang="lang"]>

  [<small-icon>iconPath</small-icon>]

  [<large-icon>iconPath</large-icon>]

</icon>

The <icon> element can contain a <small-icon> and a <large-icon> element, each with a context-relative path to an image file (GIF and JPEG formats are supported). The small icon must be 16x16 pixels, and the large 32x32. The <display-name> element can specify a name for the entity described by the parent element, and the <description> element a longer description.

You can use different versions of all these elements for multiple languages, each with a unique xml:lang attribute value ("en", for English, is the default value):

<icon>

  <small-icon>/images/small.gif</small-icon>

  <large-icon>/images/large.gif</large-icon>

</icon>

<display-name>The application name</display-name>

<description>

  A longer description of

  the application.

</description>
    Previous Section  < Day Day Up >  Next Section