Xslt is useful for transforming xml->xml or xml->html. Are you trying to use an existing XSLT to transform the XML you’ve outputted?
This type of transformation is not done directly by Cloverleaf. One possibility could be to write a upoc to call an external transformer like Xalan. http://xml.apache.org/xalan-j/