write_eml
Value
If file is not specified, the result is a character string containing the resulting XML content. Otherwise return silently.
Examples
f <- system.file("extdata", "example.xml", package = "emld")
eml <- read_eml(f)
write_eml(eml, "test.xml")
eml_validate("test.xml")
#> [1] TRUE
#> attr(,"errors")
#> character(0)
unlink("test.xml") # clean up