mets

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAgent

func AddAgent(mets *xmlquery.Node, pstep, processor, version string) error

AddAgent adds an agent to the metsHdr of the mets tree.

func FindFlocats

func FindFlocats(doc *xmlquery.Node, fg string) []*xmlquery.Node

FindFlocats returns the Flocat nodes for the given file group.

func FindFptr

func FindFptr(doc *xmlquery.Node, id string) *xmlquery.Node

FindFptr returns the Fptr node for the given (unique) id.

func FlocatGetPath

func FlocatGetPath(flocat *xmlquery.Node, metsPath string) string

FlocatGetPath returns the path of the flocat's link relative to the given mets file's base directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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