diff --git a/product/ERP5OOo/OOoUtils.py b/product/ERP5OOo/OOoUtils.py
index 91260c78573f4e119f8fb0d49f0c571f49c6873c..118df76b8ddc8a7033d71ce6890e35acef0463e4 100644
--- a/product/ERP5OOo/OOoUtils.py
+++ b/product/ERP5OOo/OOoUtils.py
@@ -146,7 +146,7 @@ class OOoBuilder(Implicit):
     content_xml = self.extract(ooo_xml_file_id)
     output = StringIO()
     content_doc = etree.XML(content_xml)
-    root = content_doc.getroot()
+    root = content_doc.getroottree().getroot()
     #Declare zope namespaces
     NSMAP = {'tal': 'http://xml.zope.org/namespaces/tal',
              'i18n': 'http://xml.zope.org/namespaces/i18n',