Beispiel #1
0
        static void TestNormalXml()
        {
            XmlDict xd = new XmlDict();

            xd.Load("ms-persist.xml");
            string     v1 = xd["recipename"].Value.ToString();
            IPListNode l3 = xd["ingredlist"]["listitem 3"];
            string     v2 = l3.ToXmlString();

            Console.WriteLine("{0},{1},{2}", l3.Tag, l3.Order, l3.Value);
            int count = xd.Items.Count;

            Console.WriteLine(v1);
            Console.WriteLine(count);
        }