Customizing sBOM XML Files > <itemlist> Element
  
<itemlist> Element
Each figure in an illustration can have an associated Item List described by the <itemlist> element. The optional <itemlist> element is a child of the <figure> element. The <itemlist> element has no attributes.
An Item List can have one or more columns and it can contain one or more items. The columns and items in an Item List are encoded in the <itemlist> child elements, <columns> and item.
<itemlist> Syntax
<itemlist>
<columns>
<column name="" category="" />
<column name="" category="" />
...
<column name="" category="" />
</columns>
<item />
<item />
...
<item />
</itemlist>
<itemlist> Child Elements
<columns>
Specifies which columns are shown in the Item List. Contains one or more child <column> elements, one for each column in the Item List.
<item>
Specifies an item in the Item List. An <itemlist> element can contain one or more child <item> elements. (See <item> Element.)
<itemlist> Example
This example shows an <itemlist> element for a 4-column Item List.
The first three <column> elements have these name attributes: ITEM_INDEX, _NAME and _COUNT. Their category attribute value is SYSTEM_VARIABLES, indicating that these columns are system-provided.
The fourth <column> element’s name attribute is PartNo. Its category attribute value is custom, indicating that this column is custom-defined.
<itemlist>
<columns>
<!—The ITEM_INDEX, _NAME and _COUNT columns are provided by the system -->
<column name="ITEM_INDEX" category="SYSTEM_VARIABLES" />
<column name="ITEM_NAME" category="SYSTEM_VARIABLES" />
<column name="ITEM_COUNT" category="SYSTEM_VARIABLES" />
<!—This custom column will display the PartNo attribute -->
<column name=" PartNo " category="custom" />
</columns>