powered by
Determine the type of a node.
xml_type(x)
A document, node, or node set.
x <- read_xml(" a ") xml_type(x) xml_type(xml_contents(x))
Run the code above in your browser using DataLab