public Page(Book book, XmlElement sourcePage, string caption, string captionI18nId, /*Func<IPage, Image> getThumbnail,*/ Func<IPage, XmlElement> getDivNodeForThisPageMethod)
{
_id = FixPageId(sourcePage.Attributes["id"].Value);
var lineage = sourcePage.Attributes["data-pagelineage"];
_pageLineage = lineage == null ? new string[] {} : lineage.Value.Split(new[] { ',' });
Guard.AgainstNull(book,"Book");
Book = book;
_getDivNodeForThisPageMethod = getDivNodeForThisPageMethod;
Caption = caption;
CaptionI18nId = captionI18nId;
ReadClasses(sourcePage);
ReadPageTags(sourcePage);
}