XSL Template is more flexible than HTML template, because it includes XSL elements. XSL Template allows comparing/modifying data without a loss in performance. For example, under conditional formatting you must first analyze item's data and then apply the formatting.
XSL Template must include two key elements: the
<xsl:call-template name="Main" /> and the
<xsl:template name="Main">. Sample code of XSL Template:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" indent="no" omit-xml-declaration="yes" />
<xsl:template match="/">
<xsl:call-template name="Main" />
</xsl:template>
<xsl:template name="Main">
...
</xsl:template>
</xsl:stylesheet>