This is a deliberately-simple Go library
- to build XML DOM in memory,
- to produce XML content, and
- to parse XML into an in-memory DOM.
This started as a fork of VictorLowther/simplexml (which was originally from masterzen/simplexml), but has since been massively refactored to make it work more closely with encoding/xml, and to include a set of functions for doing simple searches against the element tree.
To use, simply
go get github.com/rickb777/simplexmlYou can build the library from source, e.g.
git clone https://github.com/rickb777/simplexml
cd simplexml
go buildIt has a Magefile.