An open API service indexing awesome lists of open source software.

https://github.com/michaelhenry/simplexmlparser


https://github.com/michaelhenry/simplexmlparser

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# SimpleXMLParser

[![codecov](https://codecov.io/gh/michaelhenry/SimpleXMLParser/branch/main/graph/badge.svg?token=3BBGJUDV3M)](https://codecov.io/gh/michaelhenry/SimpleXMLParser)

A Simple XML Parser built with `Swift.Concurrency`.

## Example

```swift
let junit = """















"""

let parser = SimpleXMLParser()
let rootElement = try await parser.parse(xml: junit)
XCTAssertEqual(rootElement.children[0].name, "testsuites")
```