The following is an example of a shelf defined in XML format. For
details about the XML elements used in this example, see
Elements in an XML data fileĀ .
<cplData>
<addObject id="Shelf">
<class>ilog.tgo.model.IltShelf</class>
<attribute name="name">Shelf</attribute>
<attribute name="slotSizes" javaClass="ilog.cpl.equipment.IlpSlotSizes">
<width>
<value>30</value>
<value>20</value>
<value>40</value>
</width>
<height>
<value>90</value>
<value>20</value>
</height>
</attribute>
<attribute name="position" javaClass="ilog.cpl.graphic.IlpPoint">
<x>100</x> <y>50</y>
</attribute>
</addObject>
</cplData>
The result looks like this: