title: How to represent multiple values for a single node in XML?
body: <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;code_details&gt;
          &lt;summer_redeem_code&gt;54&lt;/summer_redeem_code&gt;
          &lt;winter_redeem_code&gt;38&lt;/winter_redeem_code&gt;
      &lt;/code_details&gt;
  </code></pre>
  
  <p>In the above code, think of summer_redeem_code and winter_redeem_code as tags that want to store multiple values. Imagine that summer_redeem_code is passed values such as 54,56,57 but only the first one i.e. 54 can be displayed. Also, winter_redeem_code is passed values such as 38,48,58 but only the first one i.e. 38 can be displayed. </p>
  
  <p><strong>Question:</strong> I am trying to figure out what is the best way to represent multiple values for a single element/attribute/tag in XML so that I can display more than just the first one that I can do for now? </p>
  
  <p>Currently these tags are 1:1 relationship and I want to make them 1-many (if that makes sense?). Basically, looking for a method(tags) that can accommodate all the values.</p>
  
  <p><strong>Constraints:</strong><br>
  1) tags summer_redeem_code and winter_redeem_code cannot be deleted as they would break a parser that cannot be modified. 
  <br>Possible solution: This would probably require leaving them as is and introducing a new 1-many item with a new tag - maybe "redeem_codes" and putting those under it.</p>