public string GetMarkupElementValue(MarkupLibrary.MarkupElement element)
 {
     if (element == null) return "";
     MarkupLibrary.MarkupElement dostorImageContent = SearchTreeNodes(element, "div", "class", "field field-type-filefield field-field-mainimage");
     element.ChildElements.Remove(dostorImageContent);
     return element.ToTextString();
 }
 public string GetMarkupElementValuePure(MarkupLibrary.MarkupElement element)
 {
     if (element == null) return "";
     return element.ToTextString(false).Trim();
 }