Validate XML syntax and format it with readable indentation locally.
Validation uses the browser XML parser.