title: Can i use attribute of the same name and of the same value in XML?
body: <p>Can i use attribute of the same name and of the same value? I mean I just want each to have identifier. Should I use id attribute perhaps? And one thing, can i name an attribute or there are already reserved words for attributes. sorry for this noob question. I am just a beginner. I always see element vs. attribute but doesn't answer this question.</p>
  <pre><code>&lt;character-reference&gt;
          &lt;reference category=&quot;reference&quot;&gt;
              &lt;name&gt;Jane Doe&lt;/name&gt;
              &lt;company&gt;Google, Inc.&lt;/company&gt;
              &lt;position&gt;Senior Web Developer&lt;/position&gt;
              &lt;contact&gt;09524652565&lt;/contact&gt;
          &lt;/reference&gt;
          &lt;reference category=&quot;reference&quot;&gt;
              &lt;name&gt;John Doe&lt;/name&gt;
              &lt;company&gt;Google, Inc.&lt;/company&gt;
              &lt;position&gt;Data Analyst&lt;/position&gt;
              &lt;contact&gt;09468975846&lt;/contact&gt;
          &lt;/reference&gt;
      &lt;/character-reference&gt;
  </code></pre>