Because calculating attributes is very common, the XSLT standard adds a special syntax for attribute value templates. A stylesheet can uses an attribute value template to calculate the template value for the element directly. Curly brackets introduce a value-of expression, e.g. "{@class}". The following stylesheet is a direct translation of the previous example. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="box"> <table class="{@class}"> <tr> <td> <xsl:apply-templates/> </td> </tr> </table> </xsl:template> </xsl:stylesheet> The example XTP and its generated HTML is identical to the previous example since attribute value templates are just a syntactic shortcut. <example> This is an example. </example> <table class="example"> <tr> <td>This is an example</td> </tr> </table> interpolates an attribute's value.