mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
xml extraction
This commit is contained in:
parent
8f8e85c1e1
commit
60490cd4fa
1 changed files with 3 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue