Enumeration toRemoveList = toRemove.elements();
printer.writeElement("D", null, "prop", XMLPrinter.OPENING);
while (toRemoveList.hasMoreElements()) {
Property current = (Property) toRemoveList.nextElement();
printer.writeElement(current.namespace, current.namespaceInfo,
current.name, XMLPrinter.NO_CONTENT);
}
printer.writeElement("D", null, "prop", XMLPrinter.CLOSING);
printer.writeElement("D", null, "remove", XMLPrinter.CLOSING);