Add an XML template for the Tree view