def shortcut_xml_gen(shortcut_entries):
    root = etree.Element("interface")
    root.append(create_object_tree(shortcut_entries))
    content = etree.tostring(root, xml_declaration=True, encoding="UTF-8",
            pretty_print=True)
    content = content.decode("UTF-8")
    return content