public static char?GetAttributeChar([NotNull] this XmlReader reader, string name, char?Default = null) { var str = reader.GetAttribute(name); return(str is null ? Default : XmlConvert.ToChar(str)); }