xml_type {xml2} | R Documentation |
Determine the type of a node.
Description
Determine the type of a node.
Usage
xml_type(x)
Arguments
x |
A document, node, or node set. |
Examples
x <- read_xml("<foo> a <b /> <![CDATA[ blah]]></foo>")
xml_type(x)
xml_type(xml_contents(x))
[Package xml2 version 1.3.6 Index]