updated xml parsing to retrieve currency