def load_content(self):
<EOL>rel_path = self.root_file_url.replace(os.path.basename(self.root_file_url), '<STR_LIT>')<EOL>self.toc_file_url = rel_path + self.root_file.find(id="<STR_LIT>")['<STR_LIT>']<EOL>self.toc_file_soup = bs(self.book_file.read(self.toc_file_url), '<STR_LIT>')<EOL>for n, c in cross(self.toc_file_soup.find_all('<STR_LIT>'), self.toc_file_soup.find_all('<STR_LIT:content>')):<EOL><INDENT>content_soup = bs(self.book_file.read(rel_path + c.get('<STR_LIT:src>')))<EOL>self.content.append({'<STR_LIT>': c.text,<EOL>'<STR_LIT>': c.get('<STR_LIT:src>'),<EOL>'<STR_LIT>': content_soup,<EOL>'<STR_LIT>': content_soup.body,<EOL>'<STR_LIT>': content_soup.body.text})<EOL><DEDENT>
Load the book content