replace minidom with beautifysoup