Hi Gaurav,
We have used java mapping in our scenario.You can generate XSL using altova mapforce tool.You can download evalation copy of this tool for 30 days.This tool allows you to specify source and target xml/xsd and generates xsl depending on your mappings.
Send me your mail id if you require java mapping source code.
Hope this helps.
Vivek
Add a comment