Related resources for XmlConvert.EncodeName
  • Verify XML Names Using C#5/27/2013 1:49:55 PM. The XML specification does not allow some characters to be a part of valid XML names. We can use the XMLConvert class and its methods to verify, encode and decode names.