## NamespaceHandling enum


Specifies whether to remove duplicate namespace declarations in the [XmlWriter](../xmlwriter/).

```cpp
enum class NamespaceHandling
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Default | 0 | Specifies that duplicate namespace declarations will not be removed. |
| OmitDuplicates | 1 | Specifies that duplicate namespace declarations will be removed. For the duplicate namespace to be removed, the prefix and the namespace must match. |

## See Also

* Namespace [System::Xml](../)
* Library [Aspose.PDF for C++](../../)
