title: BizTalk - how to map these two nodes to a repeating node?
body: <p>I have an incoming schema that looks like this:</p>
  
  <pre><code>&lt;Root&gt;
     &lt;ClaimDates005H&gt;
        &lt;Begin&gt;20120301&lt;/Begin&gt;
        &lt;End&gt;20120302&lt;/End&gt;
     &lt;/ClaimDates005H&gt;
  &lt;/Root&gt;
  </code></pre>
  
  <p>(there's more to it, this is just the area I'm concerned with)</p>
  
  <p>I want to map it to a schema with a repeating section, so it winds up like this:</p>
  
  <pre><code>&lt;Root&gt;
     &lt;DTM_StatementFromorToDate&gt;
        &lt;DTM01_DateTimeQualifier&gt;Begin&lt;/DTM01_DateTimeQualifier&gt;
        &lt;DTM02_ClaimDate&gt;20120301&lt;/DTM02_ClaimDate&gt;
     &lt;/DTM_StatementFromorToDate&gt;
     &lt;DTM_StatementFromorToDate&gt;
        &lt;DTM01_DateTimeQualifier&gt;End&lt;/DTM01_DateTimeQualifier&gt;
        &lt;DTM02_ClaimDate&gt;20120302&lt;/DTM02_ClaimDate&gt;
     &lt;/DTM_StatementFromorToDate&gt;
  &lt;/Root&gt;
  </code></pre>
  
  <p>(That's part of an X12 835, BTW...)</p>
  
  <p>Of course in the destination schema there's only a single occurrence of DTM_StatementFromorToDate, that can repeat... I get that I can run both Begin and End into a looping functoid to create two instances of DTM_StatementFromorToDate, one with Begin and one with End, but then how do I correctly populate DTM01_DateTimeQualifier?</p>