Hello, another mapping question
We are reading the SuccessFactors CompoundEmployee interface.
Let's say we have the following structure :
on the left
- the nested inputstructure
- all subnodes like email_information return 0...1 value (still have to change the occurences ...)
on the right
- the flat XML output that can be used for converting to CSV
- for CSV, 'empty' nodes should return an empty value to match the column count.
Example : I'm currently mapping the nested input email_address 1:1 to the flat email_address on the right. No context changes, only a mapWithDefault for our empty column.
What is the 'best practice' way of doing this?