Description of problem: If you create a label with both the color and weight attributes set [setColor() and setFontWeight()]only the color attribute will be rendered. The weight attribute will be dropped. The problem is in label.xsl where <xsl:template match="bebop:label[@color!='' and @weight!='']" should come after <xsl:template match="bebop:label[@weight!='']" and <xsl:template match="bebop:label[@color!='']" When the weight and color come before, the color template gets matched because it is less specific and comes after the weight and weight/color templates.