title: How can I POST a list of Elements without Root item as xml in Retrofit
body: <p>I'm trying to POST a entity to a REST endpoint with Retrofit. I have no control over the endpoint code.</p>
  
  <p>The entity consists of a list of objects of another entity.</p>
  
  <pre><code>public class DemoEntity {
    @ElementList(inline = true);
    private List&lt;SubEntry&gt; entries;
  }
  
  @Root(name = "subEntry")
  public class SubEntry {
    @Attribute(name = "attr")
    private String attribute;
  }
  </code></pre>
  
  <p>I want the resulting xml to look like this</p>
  
  <pre><code>&lt;?xml version="1.0"...&gt;
  &lt;subEntry attr="a" /&gt;
  &lt;subEntry attr="b" /&gt;
  &lt;subEntry attr="c" /&gt;
  </code></pre>
  
  <p>But the serializer always includes the root element of DemoEntity.</p>
  
  <pre><code>&lt;?xml version="1.0"... ?&gt;
  &lt;DemoEntity&gt;
    &lt;subEntry attr="a" /&gt;
    &lt;subEntry attr="b" /&gt;
    &lt;subEntry attr="c" /&gt;
  &lt;/DemoEntity&gt;
  </code></pre>
  
  <p>Is there any way to circumvent the default (and correct) behaviour to "ignore" the root element?</p>