write_eml

0th

Percentile

write_eml

write_eml

Usage
write_eml(eml, file, namespaces = NULL, ns = "eml", ...)
Arguments
eml

an emld class object

file

file name to write XML.

namespaces

named character vector of additional XML namespaces to use.

ns

root namespace abbreviation

...

additional arguments to write_xml

Value

If file is not specified, the result is a character string containing the resulting XML content. Otherwise return silently.

Aliases
  • write_eml
Examples
# NOT RUN {
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
# }
Documentation reproduced from package EML, version 2.0.4, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.