1<?xml version="1.0"?> 2<xsl:stylesheet version="1.0" 3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 4 <xsl:output method="html"/> 5 6 <xsl:attribute-set name="foo-attribs"> 7 <xsl:attribute name="size">+1</xsl:attribute> 8 </xsl:attribute-set> 9 10 <xsl:attribute-set name="foo-dep-attribs" 11 use-attribute-sets="foo-attribs"> 12 <xsl:attribute name="text-align">start</xsl:attribute> 13 </xsl:attribute-set> 14 15 <xsl:template match="/"> 16 <font xsl:use-attribute-sets="foo-dep-attribs"> 17 foo 18 </font> 19 </xsl:template> 20 21</xsl:stylesheet> 22