from lxml import etree import xmlsec xml1 = etree.parse("sf.xml") print(xml1) xml2 = etree.parse("sf.xml") print(xml2)