Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DublinCore ¶
type DublinCore struct{}
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"`
About string `xml:"about"`
Metadata struct {
// http://www.openarchives.org/OAI/2.0/oai_dc.xsd
Dc struct {
Title []string `xml:"title"`
Creator []string `xml:"creator"`
Subject []string `xml:"subject"`
Description []string `xml:"description"`
Publisher []string `xml:"publisher"`
Contributor []string `xml:"contributor"`
Date []string `xml:"date"`
Type []string `xml:"type"`
Identifier []string `xml:"identifier"`
Language []string `xml:"language"`
Rights []string `xml:"rights"`
Format []string `xml:"format"`
Source []string `xml:"source"`
Relation []string `xml:"relation"`
Coverage []string `xml:"coverage"`
} `xml:"dc"`
} `xml:"metadata"`
}
func (*Record) Description ¶
func (*Record) ToIntermediateSchema ¶
func (r *Record) ToIntermediateSchema() (*finc.IntermediateSchema, error)
ToInternalSchema converts a jats article into an internal schema. This is a basic implementation, different source might implement their own.
Click to show internal directories.
Click to hide internal directories.