writer.writeStartElement("Object");
writer.writeAttribute("ocdref", "ocd");
for (String propertyName : propertyNames) {
writer.writeStartElement("Attribute");
writer.writeAttribute("adref", propertyName);
writer.writeCData("${context." + propertyName + "}");
writer.writeEndElement();
}
writer.writeEndElement();
writer.writeEndElement();
writer.writeEndDocument();