eml_locate_schema returns the location of the XSD schema file for a given EML document, as shipped with the EML R package.
an xml2::xml_document instance for an EML document
the namespace URI for the top (root) element
The schema location is based on the last path component from the EML namespace (e.g., eml-2.1.1), which corresponds to the directory containing xsd files that ship with the EML package. Schema files are copies of the schemas from the EML versioned releases. If an appropriate schema is not found, the function returns FALSE.
fully qualified path to the XSD schema for the appropriate version of EML
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.