I built a pure Swift XML parser (no DTD, external entity, transcoding support) at https://github.com/compnerd/xylem. Some informal testing indicated that it is faster than libxml2 and xmloxide, a rust port of libxml2.
GitHub - compnerd/xylem: XML Parsing Library

XML Parsing Library. Contribute to compnerd/xylem development by creating an account on GitHub.

GitHub
@compnerd What a great project, thanks for making it!
@numist thanks :) I hope you find it useful!