writer.append(XmlFile.getValueWithSpecialsEscaped(entry.toString()));
writer.append("</value>\n");
}
private static void writeCollection(final Data data, final Writer writer) throws IOException {
final CollectionData collection = (CollectionData) data;
final ListOfRootOid refs = collection.references();
for (int i = 0; i < refs.size(); i++) {
final Object oid = refs.elementAt(i);
writer.append(" <element");
final RootOid rootOid = (RootOid) oid;
Utils.appendAttribute(writer, "oid", rootOid.enString(getOidMarshaller()));