From f69d5697b6aec2343001414cdf4a136126aad11e Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 14 May 2024 18:02:37 +0200 Subject: [PATCH] Update reader.go --- crossrefxml/reader.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crossrefxml/reader.go b/crossrefxml/reader.go index 5c5d766..da49b4c 100644 --- a/crossrefxml/reader.go +++ b/crossrefxml/reader.go @@ -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 {