Add input method which enables to input XML directly