Description Usage Arguments Value Examples
eml_validate processes an EML document using the XSD schema for the appropriate version of EML and determines if the document is schema-valid as defined by the XSD specification
1 | eml_validate(eml, encoding = "UTF-8", schema = NULL)
|
eml |
file path, xml_document, |
encoding |
optional encoding for files, default UTF-8. |
schema |
path to schema |
Whether the document is valid (logical)
1 2 3 4 5 6 7 8 | f <- system.file("extdata", "example.xml", package = "emld")
## validate file directly from disk:
eml_validate(f)
## validate an eml object:
eml <- as_emld(f)
eml_validate(eml)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.