Beginning the undertakingo of translating xml.dom.minidom code to lxml code