## XmlWriter::WriteNmToken method


When overridden in a derived class, 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](https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name)).

```cpp
virtual void System::Xml::XmlWriter::WriteNmToken(const String &name)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const String\& | The name to write. |

## See Also

* Class [String](../../../system/string/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
