Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3276

PI / HCI from XML treestructure to flat

$
0
0

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?

QCE.jpg


Viewing all articles
Browse latest Browse all 3276

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>