XML stands for an extensible markup language that is the standard for data transfer since it can be processed by…