convert_iso_to_eml: Convert an 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 Dec. 7, 2018, 10:17 p.m.