My application is based on client server architecture. It captures data from the client, pulls related information from the database and construts POJOs containing combined data. Our primary requirement is to transform this data to PDF format and email the generated file to the user. User should also be able to view this data in HTML format. Currently we are evaluating XSLT and Velocity to get the desired output. please suggest which one should we choose and why. Is there any other technology that can be used for this apart from XSLT/velocity? please advice.