View source: R/s3-xml_document.R
| opts_xml_document | R Documentation |
These options will be used on objects of class 'xml_document'.
opts_xml_document(constructor = c("default", "next"), ..., simplify = TRUE)
constructor |
String. Name of the constructor, often the function used to construct the object. |
... |
Additional options used by user defined constructors through the |
simplify |
Whether to remove the "meta http-equiv" and "!DOCTYPE" tags from the input if they're the default ones. |
Depending on constructor, we construct the object as follows:
"default" (default): We build the object using xml2::read_xml() or xml2::read_html()
on a string.
"next" : Use the constructor for the next supported class.
An object of class <constructive_options/constructive_options_xml_document>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.