<xsl:attribute-set name="as1"> <xsl:attribute name="width">128</xsl:attribute> <xsl:attribute name="height">64</xsl:attribute> </xsl:attribute-set> <xsl:template match="/"> <xsl:element name="img" use-attribute-sets="as1 as2"/> </xsl:template>Ergebnis: <img width="128" height="64"/>