code: public void appendAttribute(final String name, final Object value) {
  		write(' ');
  		write(name);
  		write("=\"");
  
  		if (value instanceof Message) {
  			appendEscaped(translate(value));
  		} else if (value != null) {
  			appendEscaped(value.toString());
  		}
  
  		write('"');
  	}
docs: <p>
  Adds an xml attribute name+value pair to the end of this XmlStringBuilder. All attribute values are escaped to
  prevent malformed XML and XSS attacks.
  </p>
  <p>
  If the value is null an empty string "" is output.
  </p>
  <p>
  Eg. name="value"
  </p>
  
  @param name the name of the attribute to be added.
  @param value the value of the attribute to be added.