Documentation
¶
Index ¶
Constants ¶
View Source
const ( SourceIdentifier = "93" // TODO(miku): find correct id Format = "ElectronicArticle" Genre = "article" DefaultRefType = "EJOUR" Collection = "ZVDD" )
SourceIdentifier for internal bookkeeping.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶ added in v0.1.172
type Record struct {
XMLName xml.Name `xml:"Record"`
Header struct {
Status string `xml:"status,attr"`
Identifier string `xml:"identifier"`
Datestamp string `xml:"datestamp"`
SetSpec []string `xml:"setSpec"`
} `xml:"header"`
Metadata struct {
DC struct {
Title []string `xml:"title"`
Creator []string `xml:"creator"`
Subject []string `xml:"subject"`
Publisher []string `xml:"publisher"`
Date []string `xml:"date"`
Type []string `xml:"type"`
Format []string `xml:"format"`
Identifier []string `xml:"identifier"`
Language []string `xml:"language"`
Rights []string `xml:"rights"`
Description []string `xml:"description"`
Source []string `xml:"source"`
} `xml:"dc"`
} `xml:"metadata"`
About string `xml:"about"`
}
Record is a sketch for highwire XML.
func (Record) ToIntermediateSchema ¶ added in v0.1.172
func (r Record) ToIntermediateSchema() (*finc.IntermediateSchema, error)
ToIntermediateSchema sketch.
Click to show internal directories.
Click to hide internal directories.