title: JAXB Moxy Element inside Text Content
body: <p>I have to un-/marshall the following snippet</p>
  
  <pre><code>    &lt;para sizeInfoId="sizeInfo2" styleId="mono"&gt;Franz jagt im komplett verwahrlosten &lt;protectedText&gt;Taxi&lt;/protectedText&gt; quer durch Bayern.&lt;/para&gt;
  </code></pre>
  
  <p>My Java Model looks like this</p>
  
  <pre><code>import javax.xml.bind.annotation.XmlAttribute;
  import javax.xml.bind.annotation.XmlRootElement;
  import javax.xml.bind.annotation.XmlTransient;
  import javax.xml.bind.annotation.XmlType;
  import javax.xml.bind.annotation.XmlValue;
  
  @XmlType(propOrder = { AcrossParagraph.XML_ID, AcrossParagraph.XML_STYLE_ID, AcrossParagraph.XML_SIZEINFO_ID, AcrossParagraph.XML_COMMENT, AcrossParagraph.XML_CONTENT })
  @XmlRootElement(name = AcrossParagraph.XML_ROOT_TAG)
  public class AcrossParagraph {
  
      public static final String XML_ROOT_TAG = "para";
      public static final String XML_ID = "id";
      public static final String XML_STYLE_ID = "styleId";
      public static final String XML_SIZEINFO_ID = "sizeInfoId";
      public static final String XML_COMMENT = "comment";
      public static final String XML_CONTENT = "content";
  
      private String id;
      private String styleId;
      private String sizeInfoId;
      private String comment;
      private String content;
  
      @XmlAttribute(name = AcrossParagraph.XML_ID)
      public String getId() {
          return id;
      }
  
      public void setId(String id) {
          this.id = id;
      }
  
      @XmlAttribute(name = AcrossParagraph.XML_STYLE_ID)
      public String getStyleId() {
          return styleId;
      }
  
      public void setStyleId(String styleId) {
          this.styleId = styleId;
      }
  
      @XmlTransient
      public void setStyleId(AcrossStyle style) {
          this.styleId = style.getId();
      }
  
      @XmlAttribute(name = AcrossParagraph.XML_SIZEINFO_ID)
      public String getSizeInfoId() {
          return sizeInfoId;
      }
  
      public void setSizeInfoId(String sizeInfoId) {
          this.sizeInfoId = sizeInfoId;
      }
  
      @XmlTransient
      public void setSizeInfoId(AcrossSize size) {
          this.sizeInfoId = size.getId();
      }
  
      @XmlAttribute(name = AcrossParagraph.XML_COMMENT)
      public String getComment() {
          return comment;
      }
  
      public void setComment(String comment) {
          this.comment = comment;
      }
  
      @XmlValue
      public String getContent() {
          return content;
      }
  
      public void setContent(String content) {
          this.content = content;
      }
  
  }
  </code></pre>
  
  <p>Without the inner protectedText Tag everything is working, but I don't know how to map that inner element.</p>
  
  <p>I have read something about XmlAnyElement Annotation but havn't found an example for mapping something like this.</p>
  
  <p>Any ideas?</p>
  
  <p>Best regards,
  Pascal</p>