stringWriter.write(this, name, writer);
List attributes = element.attributes();
int count = attributes.size();
for (int i = 0; i < count; i += 1) {
TAttribute attribute = (TAttribute) attributes.get(i);
// Add the costs of the attribute name and value.
writer.write(" ");
stringWriter.write(this, attribute.getName(), writer);
writer.write("='");
stringWriter.write(this, attribute.getValue(), writer);
writer.write("'");
}
writer.write(">");
}