I have this xml document.
<response>
<metadata>
<iserror>false</iserror>
<start>1</start>
<startdate>10/20/2014</startdate>
<enddate>10/21/2014</enddate>
<breakdownby>day</breakdownby>
<orderby>date</orderby>
<ordertype>asc</ordertype>
<domainname>
<![CDATA[ domainname.com ]]>
</domainname>
</metadata>
<results first="1" last="2" total="2">
<result>
<year>2014</year>
<month>10</month>
<day>03</day>
<sales>1</sales>
<profit>1.08</profit>
</result>
<result>
<year>2014</year>
<month>10</month>
<day>04</day>
<sales>4</sales>
<profit>5.79</profit>
</result>
</results>
</response>
I want to display this xml in my html page. But before that I want to make some changes to it. I want that the profit is doubled on the html page. I need help with modifying the data and then putting it as html.
any simple way to achieve this?