Parse xml text or file into an XMLDocument or XMLElement

parse_xml_doc(x, encoding = "", ..., as_html = FALSE,
  options = "NOBLANKS")

parse_xml_elem(x, encoding = "", ..., as_html = FALSE,
  options = "NOBLANKS")

Arguments

x, encoding, ..., as_html, options

options passed to xml2::read_xml()

Value

XMLDocument or XMLElement