diff --git a/etl/xml_survey_extraction/XmlParser.py b/etl/xml_survey_extraction/XmlParser.py index a4061b3a..a2246629 100644 --- a/etl/xml_survey_extraction/XmlParser.py +++ b/etl/xml_survey_extraction/XmlParser.py @@ -804,7 +804,9 @@ class XmlParser: pvc_frame = self.xml.getElementsByTagName("SAP-Property-Details")[0].getElementsByTagName( "PVC-Window-Frames" - )[0].firstChild.nodeValue + ) + + pvc_frame = pvc_frame[0].firstChild.nodeValue if pvc_frame else None multple_glazed_proportion = self.xml.getElementsByTagName("SAP-Property-Details")[0].getElementsByTagName( "Multiple-Glazed-Proportion"