Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dim ¶
type Dim struct { XMLName xml.Name `xml:"Record"` Text string `xml:",chardata"` Header struct { Text string `xml:",chardata"` Status string `xml:"status,attr"` Identifier string `xml:"identifier"` // oai:localhost:doc/2019, o... Datestamp string `xml:"datestamp"` // 2018-09-24T22:09:15Z, 201... SetSpec []string `xml:"setSpec"` // com_doc_344, col_doc_1951... } `xml:"header"` Metadata struct { Text string `xml:",chardata"` Dim struct { Text string `xml:",chardata"` Dim string `xml:"dim,attr"` Doc string `xml:"doc,attr"` Xsi string `xml:"xsi,attr"` SchemaLocation string `xml:"schemaLocation,attr"` Field []struct { Text string `xml:",chardata"` // Geser, Hans, 2018-09-24T1... Mdschema string `xml:"mdschema,attr"` Element string `xml:"element,attr"` Qualifier string `xml:"qualifier,attr"` Lang string `xml:"lang,attr"` } `xml:"field"` } `xml:"dim"` } `xml:"metadata"` About string `xml:"about"` }
Dim was generated 2018-10-02 14:55:51 by tir on sol.
func (*Dim) FieldValue ¶
FieldValue returns the first value given a mdschema and element attribute name, empty string if nothing is found.
func (*Dim) FieldValues ¶
FieldValues returns the all values given a mdschema and element attribute name, empty slice if nothing is found.
func (*Dim) PageCount ¶ added in v0.1.259
PageCount returns number of pages as string or the the empty string.
func (*Dim) ToIntermediateSchema ¶
func (r *Dim) ToIntermediateSchema() (*finc.IntermediateSchema, error)
ToIntermediateSchema converts mediarep/dim to intermediate schema
Click to show internal directories.
Click to hide internal directories.