From fe3bd184743af8685fcddd3a0df78ed59b2f9603 Mon Sep 17 00:00:00 2001
From: Alexander Schlemmer <a.schlemmer@indiscale.com>
Date: Fri, 23 Aug 2024 22:07:44 +0200
Subject: [PATCH] ENH: implemented xml file converter

---
 src/caoscrawler/xml_converter.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/caoscrawler/xml_converter.py b/src/caoscrawler/xml_converter.py
index 06cf34a2..134c8d72 100644
--- a/src/caoscrawler/xml_converter.py
+++ b/src/caoscrawler/xml_converter.py
@@ -66,8 +66,8 @@ class XMLFileConverter(SimpleFileConverter):
                 raise ConverterValidationError(
                     "Error during the validation of the XML file:\n"
                     f"{element.path}\n" + err.message)
-        raise NotImplementedError("Not implemented yet")
-        # return [structure_element]
+
+        return XMLTagElement(xml.getroot())
 
 
 class XMLTagConverter(Converter):
-- 
GitLab