Skip to Content
0
Former Member
Jul 23, 2007 at 06:01 PM

Mapping question

18 Views

All

I have a source structure like.

<Source>

<DataLoadID>1</DataLoadID>

<Data>

<Employee>

<Name>John Q</Name>

<Title>Senior Engineer</Title>

</Employee>

<Employee>

<Name>John Q</Name>

<Title>Senior Engineer</Title>

</Employee>

<Employee>

<Name>Sam H</Name>

<Title>Manager</Title>

</Employee>

</Data>

</Source>

we have a target structure as follows,

<Target>

<DataLoadID>1</DataLoadID>

<RawData></RawData>

</Target>

The requirement is in the target <RawData> node should have all the data that is within the <Data> node in the source (basically the xml text of the <Data> node).

How can we do this in the graphical mapping? (or user defined function)

Thanks.