Return bytes containing XML for a default header part.
(cls)
| 46 | |
| 47 | @classmethod |
| 48 | def _default_header_xml(cls): |
| 49 | """Return bytes containing XML for a default header part.""" |
| 50 | path = os.path.join(os.path.split(__file__)[0], "..", "templates", "default-header.xml") |
| 51 | with open(path, "rb") as f: |
| 52 | xml_bytes = f.read() |
| 53 | return xml_bytes |