in reply to Re^4: how to update an xml file by read data from csv file
in thread how to update an xml file by read data from csv file
If it doesn't have the container closing tags then it won't be valid XML (which is certainly possible for a config file, though kind of rude of them to do it that way). No decent XML generator will let you do that. A straightforward way to remove them is to do something like:
before you write it to the file.