This document provides an example of using DataWeave to transform XML input into a Java Object. The XML input contains user data that is mapped to a User class using DataWeave transformations. The User class is defined with firstName and lastName properties that correspond to the name and lastName elements in the XML. DataWeave code is used to parse the XML payload and set the properties of a User object that is returned.