title: Generating constants with XmlBeans
body: <p>We are using XmlBeans 2.6.0 to generate classes from <code>.xsd</code>. A complex type has an attribute</p>
  
  <pre><code>&lt;xs:attribute name="WEB" use="optional" fixed="2" type="xs:int"/&gt;
  </code></pre>
  
  <p>An earlier version based on Apache CXF generated from this stuff </p>
  
  <pre><code>public static final int WEB = 2;
  </code></pre>
  
  <p>Is it possible somehow to get the same result using XmlBeans?</p>
  
  <p><strong>UPD</strong> Source generation is performed with xmlbeans-maven-plugin 2.3.3.</p>
  
  <p>Thanks in advance.</p>