Add XML recognizer and formatter