public void RemoveExtraBookTitles()
{
//NB: here we're just keeping it simple, not even making sure, for example, that
//"Nupela Book" is in a Tok Pisin div. If it was in English, we'd zap it as well.
//This xpath will collect up both divs in the data-div, and also copies of this
//that may be in a bloom-translationGroup in the cover and title pages.
var genericBookNames = new[] {"Basic Book", "Nupela Buk", "Buku Dasar"};
foreach(XmlElement n in _dom.SafeSelectNodes("//*[@data-book='bookTitle']"))
{
if(genericBookNames.Contains(n.InnerText.Trim()))
{
n.ParentNode.RemoveChild(n);
}
}
}