hello,
i need to map one Position field into one Header field.
with n-records on the left site it always maps the position field of record 1 into all n-idoc Header fields.
<record1>
<headerfield1>1</headerfield1>
<position>
<positionsfield1>1</positionsfield1>
</position>
<position>
<positionsfield1>1</positionsfield1>
</position>
<position>
<positionsfield1>1</positionsfield1>
</position>
</record1>
<record2>
<headerfield1>2</headerfield1>
<position>
<positionsfield1>2</positionsfield1>
</position>
<position>
<positionsfield1>2</positionsfield1>
</position>
<position>
<positionsfield1>2</positionsfield1>
</position>
</record1>
Problem exists with positionfield1. we Need to map that field into a Header idoc field. so a simple n...to 1 mapping.
every record builds one idoc. actually the second idoc is filled with positionfield1 out of record1.
<idoc1>
<headerfield1>1</headerfield1>
<headerfield2>1</headerfield1>
</idoc1>
<idoc1>
<headerfield1>2</headerfield1>
<headerfield2>1</headerfield2>
</idoc2>
any idea?
thanks