https://blog.csdn.net/u_9_5/article/details/51246349

改成XmlNodeList xnl = xmlDoc.DocumentElement.ChildNodes;