<xsl:decimal-format group-separator=“{$myseparator}”/> in XSL
问题 is it possible to set decimal-format in any way by using a variable or similar? Example: The error I get : "The element 'xsl:decimal-format' has an attribute 'grouping-separator' with an illegal value of '$grouping_separator" Setting the decimal-format via a xsl:attribute is not possible also. Any hints appreciated. Cheers, Ranjith 回答1: The spec for XSLT 1.0 and XSLT 2.0 both state that the value for the grouping-separator attribute must be a single character. It appears that AVT is not