What methods valid XML?

you can use an xml editor to validate your xml and to make sure it is well formed and has no errors.