'Return a boilerplate HTML header.
Generate an HTML header with document title.
Args:
title (str): document title
Return:
soup (BeautifulSoup): HTML header with document title inserted'

def generate_html_empty_header(self, title):

    header = '\n                                                <!DOCTYPE    html    PUBLIC    "-//W3C//DTD    XHTML    1.1//EN"    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n                                                <html    xmlns="http://www.w3.org/1999/xhtml"    xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata">\n                                                <head>\n                                                <meta    http-equiv="Content-Type"    content="text/html;    charset=UTF-8"    />\n                                                                <link    rel="stylesheet"    type="text/css"    href="stylesheet.css"    media="screen"    />\n                                                <title></title>\n                                                </head>\n                                                <body>\n                                                </body>\n                                                </html>\n                                                '
    soup = BeautifulSoup(header)
    titleTag = soup.find('title')
    titleTag.insert(0, NavigableString(title))
    return soup
