title: How do I rename top level Classname during JAXB code generation using XJC?
body: <p>I am trying to generate some beans from several xsd's. Unfortunately they all have the same root element. I have successfully created a xjc bindings file for renaming sub-elements but cannot find a way to select the root node to change that.</p>
  
  <p>I tried the following but get the error: [ERROR] XPath evaluation of "/" needs to result in an element.</p>
  
  <pre><code>&lt;jxb:bindings version="1.0" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:com.fnf="http://www.fnf.com/xes"&gt;
    &lt;jxb:bindings schemaLocation="transcode-submit.xsd" node="/xs:schema"&gt;
  
      &lt;jxb:bindings node="/"&gt;
          &lt;jxb:property name="Newname"/&gt;                                     
      &lt;/jxb:bindings&gt;
  
    &lt;/jxb:bindings&gt;                                                           
  </code></pre>
  
  <p></p>