AEXML
Swift minion for simple and lightweight XML parsing
I made this for personal use, but feel free to use it or contribute.
For more examples check out Sources and Tests.
Intro
This is not a robust full featured XML parser, but rather simple, lightweight and easy to use utility for casual XML handling.
Features
- Read XML data
- Write XML string
- Covered with unit tests
- Covered with inline docs
Usage
Read XML
Let's say this is some XML string you picked up somewhere and made a variable data: Data
from that.
This is how you can use AEXML for working with this data:
(for even more examples, look at the unit tests code included in project)
Write XML
Let's say this is some SOAP XML request you need to generate.
Well, you could just build ordinary string for that?
Yes, but, you can also do it in a more structured and elegant way with AEXML:
Installation
License
AEXML is released under the MIT license. See [LICENSE] for details.