Ji

screenshot of Ji

Ji (戟) is an XML/HTML parser for Swift

Overview

Ji (戟) is an elegant Swift wrapper around libxml2, designed specifically for parsing XML and HTML content. With its ease of integration into various project setups, including CocoaPods, Carthage, and the Swift Package Manager, Ji stands as a powerful tool in the arsenal of developers working with XML/HTML data structures. Offering comprehensive support for navigating and querying documents, Ji enhances the parsing experience, making it simpler and more efficient for developers.

The library's compatibility extends across multiple platforms, supporting iOS, macOS, watchOS, and tvOS, ensuring versatility for different applications. Whether you're handling a simple XML document or a complex HTML page, Ji has the necessary features to streamline your workflow.

Features

  • Build XML/HTML Tree and Navigate: Easily parse and navigate through XML and HTML structures with straightforward APIs.
  • XPath Query Supported: Perform efficient queries on your XML/HTML documents using XPath expressions for targeted data retrieval.
  • Comprehensive Unit Test Coverage: With thorough unit tests, Ji ensures reliability and consistency in parsing functionalities.
  • Support for Swift Package Manager (SPM): Seamlessly integrate Ji into your projects using Swift Package Manager, accommodating modern development practices.
  • Linux Compatible: Ji operates well on Linux, making it a suitable option for server-side applications in addition to conventional platforms.
  • Multiple Installation Options: Easily integrate using CocoaPods, Carthage, or manually, providing flexibility based on your project's needs.
  • MIT License: Enjoy the benefits of open-source software with the permissive MIT License, allowing for modification and redistribution.