XMLCoder
XMLCoder copied to clipboard
Easy XML parsing using Codable protocols in Swift
I'd love to use this library, just want to make sure there is support for heterogeneous collections before I begin integrating it. I am getting a response back from an...
It may not be as important as my special use case, I want to parse MusicXML, whose top-level element might either be `score-partwise` or `score-timewise`, which is determined by the...
let formatter = ISO8601DateFormatter() formatter.formatOptions = .withInternetDateTime this formatOption restricts to RFC3339 format. That format requires timezone. Sometimes the timezone is not included, therefore results in error. I manage to...
Hi, I went through the test examples, although they are thorough I didn't see any examples about how to handle comments. So do you have a recommendation on how do...
Seems like I found a bug with enums decoding. Consider the following set of structures describing a book: ```swift struct Book: Codable { let title: String let chapters: [Chapter] }...
Combine tests were temporarily disabled in #132 until Catalina, which supports Combine is released and available on Azure Pipelines.
Perhaps I am overlooking this, but I think it would be useful if the starting node could be specified in some way, perhaps via XPath. While trying to implement an...
I am trying to implement a parser for a XML format that can contain extensions. These extensions are valid XML, but we don't know what format they will be in....
I have a question around producing the following output: ``` 1111.2222.3333.4444 4000000000000065 31122019 ]]> ``` How can I use XMLEncoder to produce? This element is nested within others but they've...
There's some bugs hadling ordered arrays i.e. unkeyed containers. Let's say, I have a tree with some nodes. ``` let tree = TreeNode() // create sub node with a child...