public extension PureXML.Parsing { /// What the parser extracted from a `` internal subset: the /// internal general entities and the `` content-model strings. /// Empty when no DTD was processed. struct DocumentType: Equatable, Sendable { public var entities: [String: String] public var elementModels: [String: String] /// Raw `` bodies keyed by element name (the text between the /// element name and `>`, concatenated across multiple declarations). public var attributeLists: [String: String] public init( entities: [String: String] = [:], elementModels: [String: String] = [:], attributeLists: [String: String] = [:], ) { self.entities = entities self.elementModels = elementModels self.attributeLists = attributeLists } } }