#!/usr/bin/env python # -*- coding: utf-8 -*- from lxml import etree root = etree.Element("root") print(root.tag)