if (this.stringSubstitutionVariables != null && this.stringSubstitutionVariables.size() > 0) {
Set<Entry<Object, Object>> entrySet = this.stringSubstitutionVariables.entrySet();
for (Entry<Object, Object> entry : entrySet) {
buffer.append("<string_substitution_var>");
buffer.append("<key>");
buffer.appendObject(entry.getKey());
buffer.append("</key>");
buffer.append("<value>");
buffer.appendObject(entry.getValue());
buffer.append("</value>");
buffer.append("</string_substitution_var>\n");