xml_templates library