Fixed XML export.
This commit is contained in:
parent
ecba48a615
commit
e534a541d1
1 changed files with 4 additions and 7 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue