Previous Topic

Next Topic

Book Contents

Book Index

Determining a English Printable Name or Icon for a bin

Additional information on a bin can be determined taking its binname attribute value from a search result, and looking it up in a dtypelist returned by the SL_GetAttibutes. In SL_GetAttributes, a bin is called a dtype.

A given dtype tag specifies a name attribute which corresponds to the binname attribute. The dtype tag specifies a text attribute which is English printable name of the bin. The dtype tag also specifies a recommended icon graphic to use for the bin in the imgsrc attribute. The following is an example of a dtype tag:

<dtype name="book" 
  text="referenceware" 
  imgsrc="icon_referenceware.gif" …>
  <assetitemref assettype="_ss_book"/>
</dtype>