ss="Source Java"><pre>&lt;com.thoughtworks.xstream.examples.Person&gt;
  &lt;name&gt;Guilherme&lt;/name&gt;
&lt;/com.thoughtworks.xstream.examples.Person&gt;</pre></div><p>So we make use
of an 'alias' to change this full class name to something more 'human', for
example
'person'.</p><div class="Source Java"><pre>XStream xStream = new XStream(new DomDriver());
xStream.alias(&quot;person&quot;, Person.class);
System.out.println(xStream.toXML(person));</pre></div><p>And the outcome is
much easier to read (and
