XSLT takes XML in and puts HTML out. If you know what HTML you want to generate, we can help you write the XSLT to do it. If you don't, we can't.
Modifying files either on the client or the server from within a browser gets you into all sorts of security questions.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference