set decimal-format through variable in XSLT

T

Tobias

Hi all,

is it possible to set decimal-format in any way by using a variable or
similar?

Example:
<xsl:variable name="myseparator" select="@separator"/>
<xsl:decimal-format group-separator="{$myseparator}"/>

The error I get (with xalan):
"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,
Tobias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top