I have an xml file that I read into objects and I am trying to print that file back in nested xml anyone with idea on how that can be achieved or where I can read in order to achieve this, here is an example of what I am trying to do.
From this
<Root>
<FamilyMembers>
<familyName>
</familyName>
<Name>
</Name>
<Age>
</Age>
<Employment>
</Employment>
</FamilyMembers>
</Root>
To this