Code to read page content from a single EEBO-TCP P4 TEI xml file; includes a sample as fixture and unit tests for page logic only. If we're comfortable with the approach I'll add a few more unit tests.
CodeClimate is flagging the page content method for being too complex - I revised it and apparently made it more complex! I think it's ok to ignore that check, but please comment if you have suggestions.
First step towards EEBO-TCP import #641
Code to read page content from a single EEBO-TCP P4 TEI xml file; includes a sample as fixture and unit tests for page logic only. If we're comfortable with the approach I'll add a few more unit tests.
CodeClimate is flagging the page content method for being too complex - I revised it and apparently made it more complex! I think it's ok to ignore that check, but please comment if you have suggestions.