Example #1
0
        public void ContentHandlerDeleteFromObject()
        {
            var h       = new ContentHandler();
            var baseObj = h.ObjectFrom("<a><b>test</b><c/></a>");

            ContentHandler.DeleteFrom("/a/b", baseObj);
            Assert.AreEqual("<a><c /></a>", ContentHandler.Serialize(baseObj));
        }