Swiftpack.co - vincode-io/VinXML as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by vincode-io.
vincode-io/VinXML 1.0.0
Swift bindings for LIBXML2.
⭐️ 1
🕓 1 year ago
iOS macOS
.package(url: "https://github.com/vincode-io/VinXML.git", from: "1.0.0")


This is a Swift wrapper for libxml2 (http://xmlsoft.org). It was created to support the iOS application Bind It (no longer available). Although VinXML isn't a complete wrapper for libxml2, the functionality it provides is production quality and is was previously used in an iOS app in the App Store.

Currently most of the libxml2 functionality exposed is for parsing and traversing an HTML or XML document. There is functionality for modifying content, but creating a full XML document from scratch isn't currently supported.


VinXML is a useful library as it is, but doesn't fully support all of libxml2's functionality. I am open to adding more functionality for a popularly requested feature. I also will consider adding functionality that fits the existing framework if a pull request is submitted.

Value Semantics

At this time VinXML won't try to simulate value semantics (structs) for libxml2. I doubt that we will ever try to simulate them due to hwo libxml2's API works. It frankly, just doesn't seem to be worth the effort to do something like Apple does with the stdlib for such an edge case library like VinXML.


Stars: 1
Last commit: 6 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics