title: JaxB Xpath : How to use multiple xpath to a same java bean?
body: <p>I need to generate xml using jaxb as below :</p>
  
  <pre><code>&lt;item&gt;
      &lt;key1 id="default"&gt;value1&lt;/key1&gt;
      &lt;key2 id="default"&gt;value2&lt;/key2&gt;
      &lt;key3 id="default"&gt;value3&lt;/key3&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p>how to do this using @XmlPath in jaxb?</p>
  
  <p>i have used below one. But i have multiple keys around 50. how to acheive this?</p>
  
  <pre><code>   @XmlPath("key1/@id")
      private String attrValue = "default";
  </code></pre>