I would recommend that you reach out to an specialized developer like Armand Datema - He can be found @
http://www.2dnn.com/ He wrote some extensive articles about the topic of manipulating .XSLT files as you can find @ https://www.dnnhero.com/Listing/pfauthid/2/Armand-Datema