Documentation
¶
Index ¶
Constants ¶
View Source
const ( SourceIdentifier = "200" // TODO(miku): find correct id Format = "ElectronicArticle" Genre = "article" DefaultRefType = "EJOUR" )
SourceIdentifier for internal bookkeeping.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
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"`
} `xml:"dc"`
} `xml:"metadata"`
About string `xml:"about"`
}
Record is a sketch for highwire XML.
func (Record) ToIntermediateSchema ¶
func (r Record) ToIntermediateSchema() (*finc.IntermediateSchema, error)
ToIntermediateSchema sketch.
Click to show internal directories.
Click to hide internal directories.