IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

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 accountFrom and accountTo data elements to a new collection named transfer, by using references to an account, use the <refData> and <param> tags as shown in the following example:

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


Feedback