File: Data.xml File: Transform.xslt xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> sales="{format-number(sum(region/@sales), '$####0.00')}" /> Output: