changeset 57:be1c7d6814b6

small change to xml format.
author casties
date Mon, 10 Jul 2017 17:18:39 +0200
parents f5e078e903df
children 4f833d8fc383
files importFromOpenMind/importer/ismixml2model.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/importFromOpenMind/importer/ismixml2model.py	Tue Apr 25 16:27:02 2017 +0200
+++ b/importFromOpenMind/importer/ismixml2model.py	Mon Jul 10 17:18:39 2017 +0200
@@ -276,7 +276,7 @@
     """Import all entities from etree element elem.
     """
     cnt = 0
-    xml_num = ents_elem.get('number')
+    xml_num = ents_elem.get('count')
     log('INFO', "XML says %s entities"%xml_num)
     
     # iterate through entities element
@@ -310,7 +310,7 @@
     """Import all entities from etree element elem.
     """
     cnt = 0
-    xml_num = rels_elem.get('number')
+    xml_num = rels_elem.get('count')
     log('INFO', "XML says %s relations"%xml_num)
     
     # iterate through entities element