eml_ns: Get the XML namespace for a version of EML

Description Usage Arguments Value

View source: R/eml_version.R

Description

Utility function for use when filling in xmlns, schemaLocation, or vocab in various representations of EML. This is a little more future-proof than keeping a dictionary for each version since this won't break on the next release.

Usage

1

Arguments

version

EML version, currently either eml-2.2.0 (current version) or eml-2.1.1. Defaults to current version.

Value

returns the full XML namespace URI for the specified version of the schema


emld documentation built on Oct. 23, 2020, 7:45 p.m.