powered by
write_eml
write_eml(eml, file, namespaces = NULL, ns = "eml", ...)
If file is not specified, the result is a character string containing the resulting XML content. Otherwise return silently.
an emld class object
file name to write XML.
named character vector of additional XML namespaces to use.
root namespace abbreviation
additional arguments to write_xml
write_xml
f <- system.file("extdata", "example.xml", package = "emld") eml <- read_eml(f) write_eml(eml, "test.xml") eml_validate("test.xml") unlink("test.xml") # clean up
Run the code above in your browser using DataLab