<stage-rowsource> / <map>

<map> elements specify how to map data fields to rowsource column names and values.

column

Required: Name of the rowsource column.

value

Required: Value of the rowsource column. This can be a simple field reference such as value="${location}", or an expression such as value="${part}:${location}”.

The following is a sample <stage-rowsource> specification:

<delimited-file start-row="2" delimiter=",">
   <field index="1" name="part"/>
   <field index="2" name="location"/>
   <field index="3" name="quantity"  type="double"/>
   <field index="4" name="extraction date" type="date" format="MM/dd/yy"/>
</delimited-file>
 
<stage-rowsource rowsource="Inventory">
   <map column="part" value="${part}"/>
   <map column="location" value="${location}"/>
   <map column="quantity" value="${quantity}"/>
   <map column="inventoryDate" value="${extraction date}"/>
</stage-rowsource>