public virtual bool ReadToFollowing (string name) { while (Read ()) if (NodeType == XmlNodeType.Element && name == Name) return true; return false; }