Thanks for this amazing project! I struggle to extract Text Part 2 from the following example.
<Result Identifier="123" Date="2022-12-01 12:00:00">
<Result.Description>
Text Part 1
<a href="xxx">Text Part 3</a>
Text Part 2
</Result.Description>
</Result>
My struct looks like this 👇
struct ResultDescription: Codable, DynamicNodeEncoding {
let text: String // This extracts Text Part 1
let reference: String? // This extracts Text Part 3
enum CodingKeys: String, CodingKey {
case text = ""
case reference = "a"
}
}
Dear All,
Thanks for this amazing project! I struggle to extract Text Part 2 from the following example.
My struct looks like this 👇
Any suggestions on how to extract Text Part 2?
Thanks 🙌