How about:
- get/create a HTML version of your Template file first
- create an XSLT file that produces that HTML template and add all the required xml data as <pre>...</pre>
- create templates in XSLT to replace the preformatted data from above with nicely formatted data
This assumes you have sufficient knowledge on XML, XSLT and HTML. If you have not sufficient knowledge of this, you have to get that basic knowlege first. Nobody on this site will do your work. If you have a concrete question on some parts you are struggling, you will get quick help. But for sure not work out-sourced here...
Cheers
Andi