From: Owen R. <exo...@us...> - 2005-04-07 04:30:49
|
Update of /cvsroot/netreflector/NetReflector/src/NetReflector/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16181/src/NetReflector/util Modified Files: XmlUtil.cs Log Message: NETREF-3: NetReflector now generates warning events if the configuration xml contains unused nodes. Index: XmlUtil.cs =================================================================== RCS file: /cvsroot/netreflector/NetReflector/src/NetReflector/util/XmlUtil.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** XmlUtil.cs 15 Nov 2004 05:13:03 -0000 1.2 --- XmlUtil.cs 7 Apr 2005 04:30:40 -0000 1.3 *************** *** 11,14 **** --- 11,21 ---- } + public static XmlNode ReadNode(string xml) + { + XmlDocument document = new XmlDocument(); + document.LoadXml(xml); + return document.DocumentElement; + } + public static XmlNode ReadNode(XmlReader reader) { |