1<?xml version="1.0"?> 2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 3 <xsl:output method="html"/> 4 <xsl:attribute-set name="foo-attribs"> 5 <xsl:attribute name="size">+1</xsl:attribute> 6 </xsl:attribute-set> 7 <xsl:template match="foo"> 8 <font xsl:use-attribute-sets="foo-attribs"> 9foo 10 </font> 11 </xsl:template> 12</xsl:stylesheet> 13