Ok, using minidom now for parsing the XML