Check out the smooks user guide and examples at smooks.com. You could also implement a simple FreeMarker action that applies a FreeMarker template to your Java object model.
Thanks for your quick reply.
I got your point that you are saying something like
<product><xsl:value-of select="./Product/@productId" /></product>
<price><xsl:value-of select="./Product/@price" /></price>
<quantity><xsl:value-of select="@quantity" /></quantity>
But my input is not an XML, it is a post request with say 3 parameters param1,param2 and param3
So the request would come like
Now I want to transfer it like
I can implement it using custom java code, but I wanted to give it a try using Smooks.
So, is it possible using smooks configurations.
One more questions,
I googled for FreeMarker action you have mentioned above, but couldn't found any. Can you please share some more details over that?
Thanks & Regards,