Hi All,
We used excel template for our HCM Extract, we are publishing personal details which includes visa, address, contacts and others. For all the columns, we did looping based on main data group(Assignment dg) and one emp can have multiple contacts. When we do one more looping only for the contacts, employee details are not populating for each contact row.
Main looping for all the columns:
<xsl:for-each select="/DATA_DS/G_1/G_2/FILE_FRAGMENT/BNLX_INT_OB_EXT02/ASSIGNMENT_DG[ASSIGNMENT_REC/ASG_LEG='BE']| /DATA_DS/G_1/G_2/FILE_FRAGMENT/BNLX_INT_OB_EXT01[not(ASSIGNMENT_DG)]">
Another looping only for the contacts based on contact dg(A child of assignment dg)
<xsl:for-each select="EMER_CONTACT_DG_h/EMER_CONTACT_DG"></xsl:for-each>
Getting result as:
Sample XML
Kindly help here.
Thanks,
Keerthana.