}
// Si no es el elemento raíz, lo agrego al body.
} else {
- response->xml_body += "<";
- response->xml_body += name + " ";
+ response->xml_contents += "<";
+ response->xml_contents += name + " ";
for (AttributeMap::const_iterator i = attrs.begin();
i != attrs.end(); i++) {
- response->xml_body += i->first + " = \"" + i->second + "\" ";
+ response->xml_contents += i->first + " = \"" + i->second + "\" ";
}
- response->xml_body += ">";
+ response->xml_contents += ">";
}
}
root = true;
// Si no, agrega al cuerpo.
} else {
- response->xml_body += "</";
- response->xml_body += name + ">";
+ response->xml_contents += "</";
+ response->xml_contents += name + ">";
}
}
#endif // DEBUG
// Sólo nos importa el contenido, lo agregamos.
if (!root) {
- response->xml_body += chars;
+ response->xml_contents += chars;
}
}