so, which XSL did you change?
In the XML the node names pretty much guide you as to what you are manipulating:
mv - metric value
h - header
ch - column header
...looks like you pretty much figured that out.
So, I guess good job on your hacking!
LMK if I can guide you through this any further.