Setting attribute values for a referenced data element

About this task

To add data elements that have already been defined to a new collection and to override the values provided by the original tag definition, use the <refData> tag plus the <param> subtag. For example, say you have the following definition for an account keyed collection:
<kColl id="account">
  <field id="accountNumber" />
  <field id="accountBalance" />
  .....
</kColl>

To add data element accountFrom to a new collection named transfer, by using reference to an account and tags of <refData> and <param> as shown in the following example:

<kColl id="transfer">
  <refData refId="account" alias="accountFrom" >
    <param id="description" value="accountFrom" />
  </refData>
</kColl>