Beispiel #1
0
        public void CreateTest()
        {
            var p = new paypal {
                landingPage  = "a",
                addrOverride = "b"
            };

            var xml = XmlDocumentFactory.Create(p);

            log.Info(xml.OuterXml);
        }
Beispiel #2
0
        public void ConvertTest()
        {
            var p = new paypal {
                landingPage  = "a",
                addrOverride = "b"
            };

            var xmlDoc = XmlDocumentFactory.Create(p);
            var xDoc   = XDocumentFactory.CreateDocFromXmlSerializer(p);

            log.Info(xmlDoc.ToXDocument().ToString());
            log.Info(xDoc.ToXmlDocument().OuterXml);
        }