Ejemplo n.º 1
0
        public void TestCopyNode()
        {
            var call = new CallObject();

            call.LoadFromXml(_base.ToXml());
            var vehicle = call.GetNode("CLAIM:INSURED:VEHICLE");

            Assert.IsNotNull(vehicle);
            Console.WriteLine(vehicle.ToString());
            var items = vehicle.ToNameValueDictionary();

            foreach (var item in items.Keys)
            {
                Console.WriteLine("{0}={1}", item, items[item]);
            }
        }