79551838

Date: 2025-04-03 01:58:07
Score: 1.5
Natty:
Report link

Found what I was doing wrong. Now it works when I call the XPath and the Namespace of the node I'm looking for.

for child in xmlRoot.findall(".//{http://www.onvif.org/ver10/schema}NumberRecordings"):        
    NumberRecordings=child.text
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: most.of.a.shark