title: JAXB - Parse element into string
body: <p>Is there a way to parse part of an XML message into a String keeping it in XML format?</p>
  
  <p>Example...</p>
  
  <pre><code>&lt;person&gt;
    &lt;name&gt;John Doe&lt;/name&gt;
    &lt;age&gt;24&lt;/age&gt;
  
    &lt;address&gt;
      &lt;street&gt;bailey&lt;/street&gt;
      &lt;city&gt;boston&lt;/city&gt;
    &lt;/address&gt;
  &lt;/person&gt;
  
  public class Person {
  
    @XmlElement
    private NameClass name;
  
    @XmlElement
    private int age;
  
    @XmlElement
    private String address; 
  
    ...
  }
  
  public class NameClass {
    ...
  }
  </code></pre>
  
  <p>Where I want the entire address element to be kept in XML format and parsed as a String.</p>