Hi so I have these 2 values in the incoming xml
<Value1>1800000 </Value1>
<Value>385000 </Value>
I am trying to transform this format to the following
<DATA>180.00</DATA>
<DATA>38.50</DATA>
I attempted to use the following
<xsl:decimal-format name="dollars" decimal-separator="." grouping-separator=","/>
<xsl:value-of select="format-number(OrderQua ntity/Quantity/Number/Value1,'###.### ##', 'dollars')"/>
<xsl:value-of select="format-number(OrderQua ntity/Quantity/Number/Value,'###.#### #', 'dollars')"/>
I tried different combinations with the hash but no luck.
Any help would be greatly appreciated.
<Value1>1800000 </Value1>
<Value>385000 </Value>
I am trying to transform this format to the following
<DATA>180.00</DATA>
<DATA>38.50</DATA>
I attempted to use the following
<xsl:decimal-format name="dollars" decimal-separator="." grouping-separator=","/>
<xsl:value-of select="format-number(OrderQua ntity/Quantity/Number/Value1,'###.### ##', 'dollars')"/>
<xsl:value-of select="format-number(OrderQua ntity/Quantity/Number/Value,'###.#### #', 'dollars')"/>
I tried different combinations with the hash but no luck.
Any help would be greatly appreciated.
Comment