Parameters
- name
- the attribute name; if null, no attribute is written. If you call SetNamespaceUri, typically before calling a
Generate
method, you can also include a prefix in this name, in the format "prefix:localname". - val
- the value to write; if null, no attribute is written