• From what I know, SSIS doesn't have an inherit way to do that.

    When I had to create a nested XML file I did that in the stored proc and then used ssis to create the xml file. If you want more info on how to do that I could dig it up.