Skip to content

Commit

Permalink
Update reader.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenner committed May 14, 2024
1 parent 37eea28 commit f69d569
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crossrefxml/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ type Citation struct {
}

type CitationList struct {
Citation []Citation `xml:"citation"`
XMLName xml.Name `xml:"citation_list"`
Citation []Citation `xml:"citation,omitempty"`
}

type Collection struct {
Expand Down

0 comments on commit f69d569

Please sign in to comment.