title: XSD schema and JAXB classes for element with attribute and content
body: <p>I have a quite complex XML tree structure which contains a lot of elements. For each element, the submitter can choose if the value is confidential or not. Currently, the solution that I consider is something like the following example: </p>
  
  <pre><code>&lt;Person&gt;
      &lt;Lastname confidential="true"&gt;Doe&lt;Lastname&gt;
      &lt;Fistname confidential="false"&gt;John&lt;Fistname&gt;
      &lt;Addresses&gt;
          &lt;Address&gt;
               &lt;Street confidential="false"&gt;aaaaaaa&lt;/Street&gt;
               &lt;ZipCode confidential="true"&gt;75000&lt;/ZipCode&gt;
               &lt;City confidential="false"&gt;Paris&lt;/City&gt;
               &lt;Country confidential="true"&gt;FR&lt;/Country&gt;
          &lt;/Address&gt;
          ...
      &lt;Adresses&gt;
      &lt;Email confidential="true"&gt;john.doe@mail.com&lt;Email&gt;
      &lt;Phone confidential="true"&gt;+33110111213&lt;Phone&gt;
      ...
  &lt;/Person&gt;
  </code></pre>
  
  <p>I am not a specialist but I would like to avoid generating a specific type (in the XSD schema) and a specific class (using JAXB) for each element. Is it possible ? Otherwise, do you have any idea in order to solve my problem ?</p>
  
  <p>Many thanks in advance for your help</p>