XSLT is used to transform XML payloads between different forms. In Mule, the XSLT transformer component allows transforming XML payloads using XSLT stylesheets. For example, a flow uses an HTTP inbound endpoint, sets an XML payload, and applies an XSLT stylesheet using the XSLT transformer to output a new transformed XML payload. The XSLT stylesheet matches elements in the input XML and outputs a new structure defined in the stylesheet.