public static void Advance(this XmlTextReader reader, XmlNodeType nodeType, string name) { reader.Read(); reader.Expect(nodeType, name); }