Writes the start of an attribute with the specified local name.
localName The local name of the attribute.
This method enables you to write a value using multiple Write methods.
For the asynchronous version of this method, see XmlWriter.WriteStartAttributeAsync(string).