diff --git a/README.md b/README.md
index 4d149d03..e4afee00 100644
--- a/README.md
+++ b/README.md
@@ -113,6 +113,11 @@ Pour créer un utilisateur "super admin", c'est à dire admin dans tous les dép
python -m unittest tests.test_users
-
+# TODO
+
+ - page d'erreur ScoValueError
+ - redirection pour authentification
+ - import/export Excel
+
diff --git a/app/scodoc/sco_formations.py b/app/scodoc/sco_formations.py
index e4ac0acb..b41c481c 100644
--- a/app/scodoc/sco_formations.py
+++ b/app/scodoc/sco_formations.py
@@ -42,6 +42,7 @@ from app.scodoc import sco_formsemestre
from app.scodoc import sco_news
from app.scodoc import sco_preferences
from app.scodoc import sco_tag_module
+from app.scodoc import sco_xml
from app.scodoc import VERSION
from app.scodoc.gen_tables import GenTable
from app.scodoc.sco_exceptions import ScoValueError
@@ -133,35 +134,7 @@ def formation_export(
)
-ELEMENT_NODE = 1
-TEXT_NODE = 3
-
-
-def XMLToDicts(element, encoding):
- """Represent dom element as a dict
- Example:
-
Cette page permet d'inscrire des étudiants dans le semestre destination
%(titreannee)s,
diff --git a/app/scodoc/sco_xml.py b/app/scodoc/sco_xml.py
index f5a08a55..d7ec39b2 100644
--- a/app/scodoc/sco_xml.py
+++ b/app/scodoc/sco_xml.py
@@ -96,3 +96,29 @@ def _dictlist2xml(dictlist, root=None, tagname=None, quote=False):
for (k, v) in d_list.items():
_dictlist2xml(v, tagname=k, root=elem, quote=quote)
return root
+
+
+ELEMENT_NODE = 1
+TEXT_NODE = 3
+
+
+def xml_to_dicts(element):
+ """Represent dom element as a dict
+ Example:
+