## XmlTextWriter::WriteNmToken method


Writes out the specified name, ensuring it is a valid **NmToken** according to the [W3C XML 1.0 recommendation](https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).

```cpp
void System::Xml::XmlTextWriter::WriteNmToken(const String &name) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const String\& | Name to write. |

## See Also

* Class [String](../../../system/string/)
* Class [XmlTextWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
