Fixed XML export.

This commit is contained in:
Christian P. MOMON 2018-02-28 00:47:12 +01:00
parent ecba48a615
commit e534a541d1

View file

@ -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");