title: Map an XML list into a Word repeating component (Word 2013)
body: <p>I have an xml file that I have generated from an excel spreadsheet.
  This xml represents the rows and columns of the spreadsheet.</p>
  
  <p>For instance:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;data-set xmlns="dummy.xsd"&gt;
      &lt;record&gt;
          &lt;LastName&gt;Smith&lt;/LastName&gt;
          &lt;Sales&gt;16753&lt;/Sales&gt;
          &lt;Country&gt;UK&lt;/Country&gt;
          &lt;Quarter&gt;Qtr 3&lt;/Quarter&gt;
      &lt;/record&gt;
      &lt;record&gt;
          &lt;LastName&gt;Johnson&lt;/LastName&gt;
          &lt;Sales&gt;14808&lt;/Sales&gt;
          &lt;Country&gt;USA&lt;/Country&gt;
          &lt;Quarter&gt;Qtr 4&lt;/Quarter&gt;
      &lt;/record&gt;
      &lt;record&gt;
          &lt;LastName&gt;Williams&lt;/LastName&gt;
          &lt;Sales&gt;10644&lt;/Sales&gt;
          &lt;Country&gt;UK&lt;/Country&gt;
          &lt;Quarter&gt;Qtr 2&lt;/Quarter&gt;
      &lt;/record&gt;
  &lt;data-set&gt;
  </code></pre>
  
  <p>I would like to be able to go through each row and display each part of it into a word component, so that I can format it with word formats.</p>
  
  <p>So I would have something like (With [[..]]  Symbolizing the components and repeat-structure)</p>
  
  <pre><code>[[
      [[
          [[Lastname]]   -    [[Sales]] - [[Contry]] - [[Repeat]]
      ]]
      [[
          [[Lastname]]   -    [[Sales]] - [[Contry]] - [[Repeat]]
      ]]
  ]]
  </code></pre>
  
  <p>I have already opened the <strong>Developer Pane</strong>, and load my xml with the <em>(Add new part...)</em> function of the <em>XML Mapping</em> Pane.</p>
  
  <p>When I right-click on a tag of the XML hierarchy, and do *Insert Content Control > Repeating", this creates a word component with the following text:</p>
  
  <blockquote>
    <p>"Enter any content that you want to repeat, including other content controls. You can also insert this control around table rows in order to repeat parts of a table."</p>
  </blockquote>
  
  <p>If I put some of the <em>record</em> field in it, it (<em>Insert Content Control > PlainText</em>), it tells be:</p>
  
  <blockquote>
    <p>"Plain text controls cannot be inserted aroud the current selection"</p>
  </blockquote>
  
  <p>I also tried to put a schema in *Developer > Add-Ins > XML Schema > Add Schema"</p>