diff --git a/csv_to_xml.py b/csv_to_xml.py index 91f51d2..26145d8 100755 --- a/csv_to_xml.py +++ b/csv_to_xml.py @@ -40,7 +40,8 @@ def csv_to_xml(csv_file, xml_file, dtd_file): item = ET.SubElement(root, "item") ET.SubElement(item, "Item_ID").text = row["Item_ID"] ET.SubElement(item, "Item_Name").text = row["Item_Name"] - ET.SubElement(item, "Item_Description").text = row["Item_Description"] + ET.SubElement(item, "Item_Description" + ).text = row["Item_Description"] ET.SubElement(item, "Item_Price").text = row["Item_Price"] ET.SubElement(item, "Item_Quantity").text = row["Item_Quantity"]