type NavPoint struct {
PlayerOrder int 'xml:"playOrder"'
}
...
type PageList struct {
Class string 'xml:"class"'
ID string 'xml:"id"'
}
...
type PageTarget struct {
Value string 'xml:"value"'
Type string 'xml:"type"'
PlayOrder int 'xml:"playOrder"'
}
Oh, and PageTarget is missing ID string 'xml:"id,attr"'
Should be
attr
:https://github.com/readium/r2-streamer-go/blob/master/parser/epub/ncx.go
Oh, and
PageTarget
is missingID string 'xml:"id,attr"'