hook to the outline-mode for xml file