SyntaxFix
Write A Post
Hire A Developer
Questions
Or if you want a simple one-liner:
Person person = JAXB.unmarshal(new StringReader("<?xml ..."), Person.class);