//Transformers
writer.writeStartElement(TRANSFORMERS);
for (Entry<String, LinkedHashMap<String, Transformer>> entry : model.transformers.entrySet()) {
for (Entry<String, Transformer> t : entry.getValue().entrySet()) {
Transformer transformer = t.getValue();
if (transformer instanceof Serializable) {
writer.writeStartElement(TRANSFORMER);
writer.writeAttribute("name", t.getKey());
writer.writeAttribute(ELEMENT_TYPE, entry.getKey());
if (model.currentTransformer.get(entry.getKey()).equals(transformer)) {