diff --git a/django_diu/import_command.py b/django_diu/import_command.py index 2dc255e2d613ef03e724ac596ea6e78d11fcce4f..ffee7c318673200f5b4c6cfd5bbeba5fc8ae0a8f 100644 --- a/django_diu/import_command.py +++ b/django_diu/import_command.py @@ -170,7 +170,7 @@ class XMLImportTask(ImportTask): def open_data_source(self): self.root = etree.parse(self.xmlFile) - self.rows = self.root.findall(self.xpathSelector) + self.rows = self.root.xpath(self.xpathSelector) def count_source(self): self.source_count = len(self.rows)