convert_iso_to_eml: Convert and ISO document to EML using an XSLT.

Description Usage Arguments Value Examples

View source: R/util.R

Description

Leave style=NA if you want to use the default ISO-to-EML stylesheet.

Usage

1
convert_iso_to_eml(path, style = NA)

Arguments

path

(character) Path to the file to convert.

style

(xslt) The XSLT object to be used for transformation.

Value

(character) Location of the converted file.

Examples

1
2
3
4
5
## Not run: 
iso_path <- "~/Docuements/ISO_metadata.xml"
eml_path <- convert_iso_to_eml(iso_path)

## End(Not run)

NCEAS/arcticdatautils documentation built on Sept. 16, 2018, 1:15 p.m.