XML Structures
<SubTotal> <Amount>2998</Amount> <CurrencyCode>USD</CurrencyCode> <FormattedPrice>$29.98</FormattedPrice> </SubTotal>
This example shows that the subtotal is comprised of three pieces of data:
Amount
, CurrencyCode
, and
FormattedPrice
. The example also shows that there can be
a hierarchy of tags. In this example, Amount is a child tag of Subtotal. These
structures represent arrays of values.