XSLT has been superseded by modern technologies. XSLT is less flexible and more difficult to work with than other Web technologies. The advantage of XSLT is that it requires less processing on the server side XSL dates back to 1998 when the Web was young and both client-side and server-side processing were at a premium. Avoid XSL and make your presentation of your data or content the best that it can be, in terms of style, functionality, and organization unless you're writing code for a computer museum.
This article explains how you can use either HTML or XSLT for your XML output.
HTML to XML Transforms: Using HTML transforms is an easy way to reduce page-size requirements of XML generated by Adobe Systems in the XSLT format.
HTML to XML Transforms Example: This is a basic example which has the result of the following HTML transformation applied to a sample XML: