Writes an attribute to the current element. A FdoXmlException is thrown if this function is called immediately after WriteEndElement().