'Parse an XML config file at `config_filepath` for template paths
(relative to `base_directory`) to add to each plugin\'s template lookup.
Allows having a set of common templates for import/inheritance in
plugin templates.
:type   config_filepath:    string
:param  config_filepath:    filesystem path to the config file
:type   base_directory:     string
:param  base_directory:     path prefixed to new, relative template paths'

def parse_additional_template_paths(self, config_filepath, base_directory):

    additional_paths = []
    xml_tree = util.parse_xml(config_filepath)
    paths_list = xml_tree.getroot()
    for rel_path_elem in paths_list.findall('path'):
        if (rel_path_elem.text is not None):
            additional_paths.append(os.path.join(base_directory, rel_path_elem.text))
    return additional_paths
