Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFilename ¶
GetFilename extracts what can serve as filename. Like /TEI/@xml:id it returns a string to serve as filename and an error value
func MixinDOI ¶
MixinDOI adds a DOI idno element to the document it returns the string serialization of the new document and an error value
func ParseTEI ¶
func ParseTEI(r io.Reader, md *tei2zenodo.ZMetadata, c *tei2zenodo.Config) (string, *tei2zenodo.Error)
ParseTEI reads a TEI file and parses its metadata into a ZMetadata variable. Returns a doi (maybe empty) and an error value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.