I've already written a few posts on how to use the graphical editor to create Simple Transformations but I guess that's not good enough for lazy developers like me.
So now we are going to try a different approach assuming we already have the XSD file that describes the structure of the required XML.