[xsl] Conditional xsl:use-attribute-sets

Subject: [xsl] Conditional xsl:use-attribute-sets
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Mon, 1 Jun 2009 12:37:52 -0700
Am I doing something wrong because this is not working:

        <fo:table-row hyphenate="true">
            <xsl:if test="position() mod 2 = 0">
                <xsl:attribute
name="xsl:use-attribute-sets">background-gray</xsl:attribute>
            </xsl:if>

Is that the correct way to call an attribute set conditionally?

Current Thread