xmlOut.writeAttribute("name", databaseVersion.getClient());
xmlOut.writeStartElement("vectorClock");
VectorClock vectorClock = databaseVersion.getVectorClock();
for (Map.Entry<String, Long> vectorClockEntry : vectorClock.entrySet()) {
xmlOut.writeEmptyElement("client");
xmlOut.writeAttribute("name", vectorClockEntry.getKey());
xmlOut.writeAttribute("value", vectorClockEntry.getValue());
}