AnsweredAssumed Answered

How to do dynamic splitting of XML documents?

Question asked by ozwhitesell100568 on Jul 8, 2017
Latest reply on Sep 4, 2017 by ozwhitesell100568

Splitting one XML document into 1 to many depending on the number of child elements.

In the attached XML document, I have an account with three opportunities. Sometimes there are no opportunities, some times more. What I would like to do, if I can, is to create three documents. Each of the three have the same account information. Each of the three have just one opportunity in it.

 

I have included screen shots from the build.

 

Should I be doing it this way or should I strip it all down, line-by-line, and the rebuild? Any help is greatly appreciated. I am trying to solve this by tomorrow (July 9th 8p EDT/12a UTC)

Outcomes