Adding custom xml protocol