A fast replacement for encoding/xml.Unmarshal() based on Libxml2 for the Go programming language
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
xml
AUTHORS
LICENSE
README.md

README.md

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