XmlDocument对象如何转换为XmlReader对象
作者:孟宪会 阅读:5627 发表于:2006-08-08 17:04:41
办法就是:
System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
doc.LoadXml("");
System.Xml.XmlReader reader = System.Xml.XmlReader.Create(new System.IO.StringReader(doc.OuterXml));