Takes a character
vector, tibble, or list
and converts it to an
xml_document
, as defined by the xml2
package. When converting from
a list, this is simply a wrapper for xml2::as_xml_document()
Usage
as_eml_xml(x, ...)
# S3 method for class 'tbl_lp'
as_eml_xml(x, ...)
# S3 method for class 'tbl_df'
as_eml_xml(x, ...)
# S3 method for class 'list'
as_eml_xml(x, ...)
# S3 method for class 'xml_document'
as_eml_xml(x, ...)
Examples
if (FALSE) { # \dontrun{
use_metadata("example.Rmd")
df <- read_md("example.Rmd")
as_eml_xml(df)
} # }