From c4cc9a49d85ec9539c9329ef0f4ffe60b594274d Mon Sep 17 00:00:00 2001 From: Greig McGill Date: Thu, 2 Jan 2025 10:20:54 +1300 Subject: [PATCH] Line re-flow --- csv_to_xml.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"]