Return bytes containing XML for a default footer part.
(cls)
| 26 | |
| 27 | @classmethod |
| 28 | def _default_footer_xml(cls): |
| 29 | """Return bytes containing XML for a default footer part.""" |
| 30 | path = os.path.join(os.path.split(__file__)[0], "..", "templates", "default-footer.xml") |
| 31 | with open(path, "rb") as f: |
| 32 | xml_bytes = f.read() |
| 33 | return xml_bytes |
| 34 | |
| 35 | |
| 36 | class HeaderPart(StoryPart): |