A fast replacement for encoding/xml.Unmarshal() based on Libxml2 for the Go programming language
Requirements
Usage
See the tests for examples
Installation
Install with go get (make sure $GOPATH is not set to install in $GOROOT)
$ go get -u github.com/pcdummy/golxml/xml (-u flag for "update")
Run the tests
$ cd $GOROOT/src/pkg/github.com/pcdummy/golxml/xml
$ go test *.go
$ go test -gocheck.b *.go
Known issues
- No namespace support
- No "omitempty" support
- Gokogiri does not compile with gccgo, see issue 2313
TODO list
- Add "omitempty" support
- Add support for gccgo