pub unsafe fn validate_nmtoken(value: *const xmlChar) -> c_intExpand description
Validate whether value is a valid XML NMTOKEN.
§UPSTREAM-PARITY
int xmlValidateNmtoken(const xmlChar *value);An NMTOKEN is like a Name but the first character can also be a NameChar (not just a NameStartChar). Returns 1 if valid, 0 if not.
§SAFETY
valuemust be a valid null-terminated string or NULL.