resolve_reference: resolve reference in a node

View source: R/utils.R

resolve_referenceR Documentation

resolve reference in a node

Description

resolve reference in a node

Usage

resolve_reference(x, element_name, eml)

Arguments

x

(list) node of element

element_name

(character) name of element

eml

(list) full EML document

Value

(list) If the node contains a reference to some other element in the document, the function returns the same node, just with the reference replaced by the contents of the referenced node. If not, this returns the exact same node and does nothing to it.


atn38/MetaInbase documentation built on Feb. 26, 2023, 9:56 a.m.