Each attribute is returned as one row with columns:
OBJECTID, node_name, xpath, attr_name, and attr_value.
Arguments
- doc
Parsed XML document (xml2::read_xml()).
- url
Source URL of the XML file (used to derive OBJECTID).
Value
A tidy data frame with one row per attribute.