internal static Category AssembleCategory(WordpressNamespaces namespaces, XElement categoryElement) {
            var category = new Category();

            category.ID =
                categoryElement.WordpressElement(namespaces, "category_nicename", (e) => e.Value.Trim());

            category.Description = 
                categoryElement.WordpressElement(namespaces, "category_description", (e) =>((XCData)e.FirstNode).Value.Trim());

            category.Title =
                categoryElement.HtmlWordpressElement(namespaces, "cat_name");

            category.ParentCategory = 
                categoryElement.WordpressElement(namespaces, "category_parent", (e) => e.Value.Trim());

            return category;
        }
        private void GetCategories(Blog blog, BlogMLBlog blogMLBlog) {
            foreach (var blogMLcategory in blogMLBlog.Categories) {
                Category category = new Category();
                category.ID = blogMLcategory.ID;
                category.Approved = blogMLcategory.Approved;
                category.DateCreated = blogMLcategory.DateCreated;
                category.DateModified = blogMLcategory.DateModified;
                category.Description = blogMLcategory.Description;
                category.ParentCategory = blogMLcategory.ParentRef;
                category.Title = blogMLcategory.Title;

                blog.Categories.CategoryList.Add(category);
            }
        }