public static bool DeleteTree(this BaseElementNavigator nav)
        {
            var parent = nav.Bookmark();

            if (nav.MoveToFirstChild())
            {
                while (!nav.IsAtBookmark(parent))
                {
                    nav.DeleteTree();
                }
            }

            return(nav.Delete());
        }