VerifyNMTOKEN()
XmlConvert::VerifyNMTOKEN(const String&) method
Verifies that the string is a valid NMTOKEN according to the W3C XML Schema Part2: Datatypes recommendation.
static String System::Xml::XmlConvert::VerifyNMTOKEN(const String &name)
Arguments
| Parameter | Type | Description |
|---|---|---|
| name | const String& | The string you wish to verify. |
Return Value
The name token, if it is a valid NMTOKEN.
Exceptions
| Exception | Description |
|---|---|
| XmlException | The string is not a valid name token. |
| ArgumentNullException | name is nullptr. |
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.Slides