goxml A fork of Go XML package One function added: func (d *Decoder) LineNumber() int to return the decoder's current line number.