Name Description Size
__init__.py 108
parse.py Parse a .dtd file into a message resource. The parsed resource will not include any metadata. 4175
serialize.py Serialize a resource as the contents of a DTD file. Section identifiers will be prepended to their constituent message identifiers. Multi-part identifiers will be joined with `.` between each part. Metadata is not supported. Yields each entity, comment, and empty line separately. Re-parsing a serialized DTD file is not guaranteed to result in the same Resource, as the serialization may lose information about message sections and metadata. 3996