## XmlWriter::WriteStartAttribute(const String\&) method


Writes the start of an attribute with the specified local name.

```cpp
void System::Xml::XmlWriter::WriteStartAttribute(const String &localName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| localName | const String\& | The local name of the attribute. |

## See Also

* Class [String](../../../system/string/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
## XmlWriter::WriteStartAttribute(const String\&, const String\&) method


Writes the start of an attribute with the specified local name and namespace URI.

```cpp
void System::Xml::XmlWriter::WriteStartAttribute(const String &localName, const String &ns)
```


| Parameter | Type | Description |
| --- | --- | --- |
| localName | const String\& | The local name of the attribute. |
| ns | const String\& | The namespace URI of the attribute. |

## See Also

* Class [String](../../../system/string/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
## XmlWriter::WriteStartAttribute(const String\&, const String\&, const String\&) method


When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI.

```cpp
virtual void System::Xml::XmlWriter::WriteStartAttribute(const String &prefix, const String &localName, const String &ns)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| prefix | const String\& | The namespace prefix of the attribute. |
| localName | const String\& | The local name of the attribute. |
| ns | const String\& | The namespace URI for the attribute. |

## See Also

* Class [String](../../../system/string/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
