You probably have a problem where xslt is not matching what you want. The instructions say to insert this little fragment : <xsl:when test="string(number(translate(translate(@value,$nbsp,''),',.','11')))!='NaN'"> <xsl:attribute name="ss:StyleID">TextBoxNumber<...