node.appendChild(child);
}
// Storages
for (String key : storage.getStorageKeys()) {
Storage stor = storage.getStorage(key);
if (stor == null)
continue;
Element child = (Element)storageToNode(document, stor, key);
child.setAttribute(nodeAttrType, nodeAttrTypeStorage);
child.setAttribute(nodeAttrStrgVersion, ""+stor.getVersion());
node.appendChild(child);
}