eml_ns: Get the XML namespace for a version of EML

View source: R/eml_version.R

eml_nsR Documentation

Get the XML namespace for a version of EML

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

eml_ns(version = eml_version())

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 Nov. 21, 2025, 9:06 a.m.