void setItemAttribute (int itemNumber, elementName, attributeName, newValue)

itemNumber, elementName, and attributeName are as described for getItemAttribute( ). elementName, attributeName, and newValue are String. The method sets the text of the unit attribute of the item to newValue. For example, if ox is a Java variable of type OrderXml:

ox.setItemAttribute(2, “unit”, “13”);

The parameters are all String. The method appends a new item to the document, with the given element values. For example, if ox is a Java variable of type OrderXml:

ox.appendItem(“77”, “spacer”, “5”, “12”);