File: Data.xml
A
B
L
120.00
USD
File: Transform.xslt
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
0.70
select="format-number(catalog/item/price - (catalog/item/price) * $discount, '###.00')" />
Output:
SYSTEM "catalog.dtd">
A
B
L
120.00
0.70
36.00
USD