diff --git a/src/fr/devinsy/sikevadb/core/XMLSikevaDB.java b/src/fr/devinsy/sikevadb/core/XMLSikevaDB.java index 3698d8a..428564a 100644 --- a/src/fr/devinsy/sikevadb/core/XMLSikevaDB.java +++ b/src/fr/devinsy/sikevadb/core/XMLSikevaDB.java @@ -289,19 +289,16 @@ public class XMLSikevaDB for (String key : source.getKeys()) { + // + Element root = source.getElement(key); + write(out, root); + // Elements elements = source.getElements(key); for (Element element : elements) { write(out, element); } - - // - for (String subkey : source.getSubkeys(key)) - { - Element subElement = source.getElement(key, subkey); - write(out, subElement); - } } out.writeEndTag("elements");