Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Schlagwoerter []Schlagwoerter `xml:"subject"` Subjects []Subjects `xml:"classification"` }
Info This is the tag of greatest interest for us; it contains all the importants subtags
type Mods ¶
type Mods struct {
Infos Info `xml:"mods"`
}
Mods Format tag, contains info about the version of the format and the URL to the specs
type Records ¶
type Records struct { XMLName xml.Name Record []SingleResult `xml:"record"` }
Records list of found items
type Schlagwoerter ¶
type Schlagwoerter struct { XMLName xml.Name `xml:"subject"` Authority string `xml:"authority,attr"` SchlagwortGeneral string `xml:"topic"` SchlagwortTemporal string `xml:"temporal"` SchlagwortGeographic string `xml:"geographic"` }
Schlagwoerter finds the subjects and the assigning authority
type SingleResult ¶
type SingleResult struct { Position int `xml:"recordPosition"` // index Mods Mods `xml:"recordData"` }
SingleResult : main node for single items, contains all the relevant informations
Click to show internal directories.
Click to hide internal directories.