Skip to content

Because XML is so terrible that adding my initials to it makes it better.

License

Notifications You must be signed in to change notification settings

leonidas-o/brett-xml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brett XML

Language Build Status codecov GitHub license

A pure Swift XML parser that's compatible with Vapor's node data structure.

Integration

Update your Package.swift file.

.Package(url: "https://github.com/BrettRToomey/brett-xml.git", majorVersion: 1)

Getting started 🚀

BML is easy to use, just pass it a String or an array of Bytes.

import BML
let node = try XMLParser.parse("<book id=\"5\"></book>")
print(node["book", "id"]?.int) // prints 5

About

Because XML is so terrible that adding my initials to it makes it better.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%