title: Marshalling/unmarshalling fields to tag with attributes using JAXB
body: <p>Let's say I have class Example:</p>
  
  <pre><code>class Example{
    String myField;
  }
  </code></pre>
  
  <p>I want to unmarshal it in this way:</p>
  
  <pre><code>&lt;Example&gt;
    &lt;myField value="someValue" /&gt;
  &lt;/Example&gt;
  </code></pre>
  
  <p>Is it possible to unmarshal object in such way using JAXB XJC? ( I know about XmlPath in EclipseLink, but can't use it).</p>