In this example, demonstrated Java mapping to concatenate first name and last name to full name using SAX.Source XML: Target XML: Java mapping class:
JAVA Mapping One-to-One Source-to-Target using SAX
Similar purpose like previous post, this post is using SAX parser in stead.To understand know more about SAX parser, see this https://www.google.com/?q=sax+parser