t2zxml

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilename

func GetFilename(r io.Reader) (string, error)

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

func MixinDOI(r io.Reader, doi string, c *tei2zenodo.Config) (string, error)

MixinDOI adds a DOI idno element to the document it returns the string serialization of the new document and an error value

func ParseTEI

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL