make minidom meta the same as lxml