htworks.xstream.XStream;
import com.thoughtworks.xstream.io.xml.DomDriver;

public class PersonTest {

        public static void main(String[] args) {
                Person person = new Person();
                person.setName(&quot;Guilherme&quot;);

                XStream xStream = new XStream(new DomDriver());
                System.out.println(xStream.toXML(person));
        }

}</pre></div><p>This results in a really ugly XML code which contains the full
class name (including
package)...</p><div cla