diff --git a/src/rinoh/frontend/xml/__init__.py b/src/rinoh/frontend/xml/__init__.py
index <HASH>..<HASH> 100644
--- a/src/rinoh/frontend/xml/__init__.py
+++ b/src/rinoh/frontend/xml/__init__.py
@@ -112,6 +112,10 @@ class ElementTreeNode(TreeNode):
         return self.get('id')
 
     @property
+    def _location(self):
+        return self.node_location(self.node)
+
+    @property
     def filename(self):
         return self.node._root._filename
Restore TreeNode._location as it is still being used