Added xml formatter utility method
Adding templates