-
Notifications
You must be signed in to change notification settings - Fork 11
/
summary.go
37 lines (33 loc) · 1.06 KB
/
summary.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright ©2013 The bíogo Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package entrez
import (
"github.com/biogo/ncbi/entrez/summary"
)
// <!--
// This is the Current DTD for Entrez eSummary version 2
// $Id: eSummary_041029.dtd 49514 2004-10-29 15:52:04Z parantha $
// -->
// <!-- ================================================================= -->
//
// <!ELEMENT Id (#PCDATA)> <!-- \d+ -->
//
// <!ELEMENT Item (#PCDATA|Item)*> <!-- .+ -->
//
// <!ATTLIST Item
// Name CDATA #REQUIRED
// Type (Integer|Date|String|Structure|List|Flags|Qualifier|Enumerator|Unknown) #REQUIRED
// >
//
// <!ELEMENT ERROR (#PCDATA)> <!-- .+ -->
//
// <!ELEMENT DocSum (Id, Item+)>
//
// <!ELEMENT eSummaryResult (DocSum|ERROR)+>
// A Summary holds the deserialised results of an ESummary request.
type Summary struct {
Database string
Documents []summary.Document `xml:"DocSum"`
Err []string `xml:"ERROR"`
}